Search vulnerabilities

Results 438,277

Export CSV
CVE-2026-142887

PCI: cadence: Store the core controller in platform drvdata

In the Linux kernel, the following vulnerability has been resolved: PCI: cadence: Store the core controller in platform drvdata cdns_plat_pcie_probe() stores a struct cdns_plat_pcie pointer with platform_set_drvdata(). cdns_plat_pcie_shutdown() and the callbacks in cdns_pcie_pm_ops retrieve the same pointer with dev_get_drvdata() but use it as a struct cdns_pcie pointer. This makes them read phy_count and phy beyond the wrapper. struct cdns_plat_pcie only contains a pointer to struct cdns_pcie. Drop the redundant wrapper and store the struct cdns_pcie pointer directly.

CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2026-142915

ALSA: timer: Pin the module for userspace timer controllers

In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: Pin the module for userspace timer controllers The static snd_utimer_ids IDA must remain live until a userspace timer controller has returned its ID. However, snd_utimer_fops has no owner, so anon_inode_getfd() does not take a reference to snd-timer for the controller file. With CONFIG_SND_TIMER=m and CONFIG_SND_UTIMER=y, userspace can create a controller with SNDRV_TIMER_IOCTL_CREATE and close the native timer file. If no timer instances or dependent modules retain snd-timer, ordinary module unload can then overlap the controller's final release: Controller final release Module unload snd_utimer_release() snd_utimer_free() snd_timer_free(): unlink provider snd_utimer_put_id() enter ida_free() delete_module() alsa_timer_exit() free_module(): free MOD_DATA access snd_utimer_ids.xa The provider is already absent from snd_timer_free_all() when unload runs. Neither register_mutex nor the IDA's lock keeps module storage resident through the remaining IDA access. That access can therefore use freed module data and fault while acquiring the XArray lock, as shown in the Oops below. Set snd_utimer_fops.owner to THIS_MODULE so anonymous-file creation takes the existing module reference. The VFS drops it only after snd_utimer_release() returns, keeping the IDA resident through ida_free() and preventing ordinary unload during that interval. Oops report as below: BUG: unable to handle page fault for address: fffffbfff80480af #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1a7ff6067 P4D 1a7ff6067 PUD 1a7ff2067 PMD 100ad6067 PTE 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 485 Comm: alsa-utimer-fix Tainted: G O 7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy) Tainted: [O]=OOT_MODULE Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:kasan_byte_accessible+0x15/0x30 Code: 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 48 b8 00 00 00 00 00 fc ff df 48 c1 ef 03 48 01 c7 <0f> b6 07 3c 07 0f 96 c0 e9 69 f1 2b ff 66 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffff88811a457c48 EFLAGS: 00010086 RAX: dffffc0000000000 RBX: ffffffffc0240578 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff861f111c RDI: fffffbfff80480af RBP: ffffffffc0240578 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff891cc057 R11: ffff88811531ba00 R12: ffffffff861f111c R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007ff190ff7780(0000) GS:ffff8881fda2a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffbfff80480af CR3: 0000000116890003 CR4: 0000000000770ef0 PKRU: 55555554 Call Trace: <TASK> __kasan_check_byte+0x13/0x50 lock_acquire+0x113/0x2f0 ? __pfx_pmbd_probe_hit_cookie+0x10/0x10 ? lock_release+0xc8/0x280 ? srso_alias_return_thunk+0x5/0xfbef5 _raw_spin_lock_irqsave+0x3c/0x60 ? ida_free+0xd4/0x2b0 ida_free+0xd4/0x2b0 ? __pfx_ida_free+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 ? __pfx_locks_remove_file+0x10/0x10 ? __fput+0x39f/0xa60 ? fput_close_sync+0xff/0x200 ? __pfx_fput_close_sync+0x10/0x10 ? dnotify_flush+0x22/0x4b0 ? __x64_sys_close+0x8c/0xf0 ? do_syscall_64+0x115/0x6a0 ? entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Modules linked in: snd(O) [last unloaded: snd_timer(O)] CR2: fffffbfff80480af ---[ end trace 0000000000000000 ]---

CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2026-142916

powerpc: fix NMI exit ordering: restore soft masks after irqentry_nmi_exit()

In the Linux kernel, the following vulnerability has been resolved: powerpc: fix NMI exit ordering: restore soft masks after irqentry_nmi_exit() When running with CONFIG_PPC_IRQ_SOFT_MASK_DEBUG=y and LOCKDEP=y, an Oops is triggered during NMI exit: [ 202.258332] Oops: Exception in kernel mode, sig: 4 [#1] NIP [000000000003e178] 0x3e178 LR [c00000000003e174] arch_local_irq_restore+0x2a4/0x328 TRAP: 0700 MSR: 0000000000081000 <ME> The faulting instruction at NIP is a 'trap' (0fe00000) inside the rfi_flush_fallback trampoline at a userspace-looking low address, reached after a bad rfid caused by an incorrect SRR0 value. Root cause: DEFINE_INTERRUPT_HANDLER_NMI used to call arch_interrupt_nmi_exit_prepare() *before* irqentry_nmi_exit(), giving this sequence: arch_interrupt_nmi_enter_prepare() // saves irq_soft_mask, irq_happened irqentry_nmi_enter() // __nmi_enter() -> nmi_count++, in_nmi()=true ____func(regs) // NMI handler body arch_interrupt_nmi_exit_prepare() // RESTORES irq_soft_mask=0 (IRQS_ENABLED) // RESTORES irq_happened with pending bits irqentry_nmi_exit() // instrumentation block runs here... trace_hardirqs_on_prepare() // ...with in_nmi()==true still lockdep_hardirqs_on_prepare() // ...and irq_soft_mask already restored to 0 -> arch_local_irq_restore(0) // mask=0 -> enable path entered WARN_ON_ONCE(in_nmi()) // FIRES: __nmi_exit() hasn't run yet __nmi_exit() // nmi_count-- (too late) arch_interrupt_nmi_exit_prepare() restores irq_soft_mask to whatever the interrupted thread had (IRQS_ENABLED / 0) and restores irq_happened with any pending deferred-interrupt bits that were present when the NMI fired. This is correct and necessary before rfid back to the interrupted context, but it must not happen until irqentry_nmi_exit() has fully completed. With irq_soft_mask=0 and pending bits in irq_happened, the trace_hardirqs_on_prepare() call inside irqentry_nmi_exit()'s instrumentation block reaches lockdep_hardirqs_on_prepare() which calls __trace_hardirqs_on_caller(), which eventually calls arch_local_irq_restore(0) (the IRQS_ENABLED / enable path). arch_local_irq_restore() with mask=0 hits the CONFIG_PPC_IRQ_SOFT_MASK_DEBUG guards at irq_64.c:217: WARN_ON_ONCE(in_nmi()); // TRUE: __nmi_exit() not yet called The WARN_ON_ONCE fires a 'trap' instruction (tw 31,0,0 / 0fe00000) in kernel mode with MSR_PR=0, MSR_IR=0 (real-mode). The program check handler (TRAP 0700) takes the sig:4 (SIGILL) path via do_program_check() and calls die(), producing the Oops. The RESTART_TABLE mechanism in arch_local_irq_restore then causes the bad rfid that lands at the userspace-looking address visible in the NIP. The bug is invisible with LOCKDEP=n because trace_hardirqs_on_prepare() is a no-op when CONFIG_TRACE_IRQFLAGS is not set (TRACE_IRQFLAGS is selected by PROVE_LOCKING which selects LOCKDEP). Fix: Move arch_interrupt_nmi_exit_prepare() to after the irqentry_nmi_exit() block, so that: irqentry_nmi_exit() // __nmi_exit() -> nmi_count--, in_nmi()=false arch_interrupt_nmi_exit_prepare() // now safe to restore soft mask state The instrumentation inside irqentry_nmi_exit() now executes while in_nmi() is still true (nmi_count not yet decremented), but irq_soft_mask is still IRQS_ALL_DISABLED (NMI-entry value), so arch_local_irq_restore() is never called with mask=0 from that path. After __nmi_exit() returns, arch_interrupt_nmi_exit_prepare() restores the pre-NMI soft mask and irq_happened, which is the correct state for the rfid back to the interrupted context.

CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2026-119584

389-ds-base: 389-ds-base: memory leaks in get_substring_filter() substring-filter parsing lead to unauthenticated remote denial of service

A memory leak was found in 389 Directory Server (389-ds-base). When processing an LDAP SearchRequest whose SubstringFilter contains a duplicate initial component, a duplicate final component, or a substring component with an unrecognized tag, the server's filter parser fails to release the associated memory before rejecting the request. A remote attacker who can reach the LDAP service, without needing to authenticate, can repeatedly send such malformed requests to exhaust server memory, resulting in a denial of service.

CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
Vendors
CVE-2026-118472

389-ds-base: 389-ds-base: vlv byvalue request with incompatible sort ordering rule triggers null pointer dereference

A flaw was found in 389 Directory Server. A missing validation check in the Virtual List View (VLV) byValue candidate-trimming logic allows a search request that combines a server-side sort control naming an incompatible ordering rule with a VLV byValue request to crash the server via a NULL pointer dereference, resulting in denial of service.

CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
Vendors
CVE-2026-118469

389-ds-base: 389-ds-base: vlv byindex request with negative beforecount triggers integer underflow and oversized memory allocation

A flaw was found in 389 Directory Server. The Virtual List View (VLV) request control's beforeCount field is not validated to be within its documented non-negative range. A VLV request using the byIndex option with a negative beforeCount value causes an integer underflow when the server computes the result window size, leading to an attempted oversized memory allocation and denial of service.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-115422

389-ds-base: 389-ds-base: vlv response metadata exposes protected ldap attribute values

A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count in the VLV response control. A client permitted to issue VLV requests can submit chosen ordering assertions against protected attributes and observe changes in contentCount, disclosing protected attribute values without read or search permission on those attributes.

CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Vendors
CVE-2026-86344

389-ds-base: 389-ds-base: unauthenticated worker-thread-pool exhaustion via completed-operation-then-incomplete-pdu connection requeue

A flaw was found in 389-ds-base. An unauthenticated remote attacker can send a complete LDAP operation followed by the first bytes of an incomplete LDAPMessage on the same connection, causing the server to hand that connection to a second worker thread before the first worker's result is flushed. The second worker blocks until nsslapd-ioblocktimeout while holding the connection mutex, preventing delivery of the completed operation's result. Repeating this across a small number of connections proportional to the configured worker-thread pool size exhausts the entire pool under default configuration, denying service to all clients (anonymous and authenticated, plaintext and TLS) for as long as the attacker maintains the connections.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-144663

MariaDB Server Stack-Based Buffer Overflow in WSREP Key Serialization for BLOB/TEXT Prefixes

MariaDB Server before 10.6.25, 10.7 through 10.11.x before 10.11.16, 11.0 through 11.4.x before 11.4.10, 11.5 through 11.8.x before 11.8.6, and 12.0 through 12.2.x before 12.2.2 contains a stack-based buffer overflow in wsrep_store_key_val_for_row() in storage/innobase/handler/ha_innodb.cc. When building Galera write-set certification keys with WSREP protocol version 2 or later, the function advanced the destination pointer past a BLOB, TEXT or GEOMETRY key prefix before copying the prefix bytes, so the copy landed after the space reserved for it and could run past the end of the 3500-byte key buffer on the stack of ha_innobase::wsrep_append_keys(). Authenticated users who can insert or update rows in an InnoDB table with a long BLOB, TEXT or GEOMETRY prefix in a key that WSREP serializes (a primary, unique or foreign key, or any key of a table without a primary key) on a Galera cluster node can write up to about 3 KB of data they control past the buffer, crashing the server or corrupting stack memory.

CVSS 4.0 · 7.7 High EPSS n/a KEV · Not listed
Vendors
—
Products
—
CVE-2026-144664

MariaDB Server Spider Engine Stack Exhaustion via Loop-Detection User Variable

MariaDB Server before 10.6.25, 10.7 through 10.11.x before 10.11.16, 11.0 through 11.4.x before 11.4.10, 11.5 through 11.8.x before 11.8.6, and 12.0 through 12.2.x before 12.2.2 contains an uncontrolled stack allocation in spider_conn_queue_loop_check() in storage/spider/spd_conn.cc. The Spider storage engine reads its loop-detection user variable (@`spider_lc_<table path>`) from the session and used alloca() to allocate stack buffers sized by the length of its value. Authenticated users who can query a Spider table can set this variable to a very long string in their own session and then access the table, exhausting the thread stack and crashing the server.

CVSS 4.0 · 6 Medium EPSS n/a KEV · Not listed
Vendors
—
Products
—
CVE-2026-144662

MariaDB Server CONNECT Engine Stack-Based Buffer Overflow via OEM Table SUBTYPE

MariaDB Server before 10.6.26, 10.7 through 10.11.x before 10.11.17, 11.0 through 11.4.x before 11.4.11, 11.5 through 11.8.x before 11.8.7, and 12.0 through 12.3.x before 12.3.2 contains a stack-based buffer overflow in OEMDEF::GetXdef() in storage/connect/reldef.cpp. When opening a CONNECT table of type OEM, the function copied the table's SUBTYPE option, upper-cased, into a 40-byte stack buffer after the prefix "Get" without checking its length, unlike the equivalent check in OEMColumns(). Users with the FILE privilege on a server with the CONNECT engine installed can create an OEM table whose MODULE names an existing shared library in the plugin directory and whose SUBTYPE is longer than 36 characters, then access the table to overflow the buffer and crash the server.

CVSS 4.0 · 5.9 Medium EPSS n/a KEV · Not listed
Vendors
—
Products
—
CVE-2026-141488

AIDB MCP endpoint authentication bypass through pg_hba.conf methods that do not check a password

The AIDB MCP endpoint (edb-endpoints) in AIDB 7.7.0 through 7.8.0 authenticates HTTP Basic credentials by opening a Postgres connection with them, always from the database host over the local Unix socket as the operating system user that runs Postgres. When a pg_hba.conf line matching that connection uses a method that does not check a password, such as peer, trust or ident, the connection succeeds with any password. A client that can reach the endpoint can then run SQL as the admitted role. With a common packaged line such as local all postgres peer, or local all enterprisedb peer on EDB Postgres Advanced Server, that role is a superuser, which allows reading and changing all data and running operating system commands as the Postgres service account. The endpoint is disabled by default. EDB Postgres AI Agent Factory for AWS Marketplace versions 1.0 through 1.3 ship AIDB 7.8.0 with the endpoint enabled and a peer line for the enterprisedb superuser. AIDB 7.9.0 and Agent Factory 1.4 fix the issue.

CVSS 4.0 · 9.2 Critical EPSS n/a KEV · Not listed
Vendors
—
Products
—
CVE-2026-80215

Mahara before 25.04.8 and 26.04.2 has a weak password recovery mechanism for a forgotten password.

CVSS 3.1 · 7.4 High EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-144661

Bitwarden Browser Extension WebAuthn RP ID Validation Accepts Sibling Subdomains

Bitwarden browser extension before 2026.2.0 contains an origin validation error in isValidRpId() in libs/common/src/platform/services/fido2/domain-utils.ts, which accepted a WebAuthn relying party ID for an origin when both shared a registrable domain and the origin's subdomain merely ended with the RP ID's subdomain, without requiring a dot boundary. Fido2ClientService used this check before creating or asserting passkeys, so a page on a sibling host such as evilaccounts.example.com could request passkey registration or authentication for the RP ID accounts.example.com. Attackers who control such a sibling host can get the extension to create or use passkeys belonging to another relying party under the same domain, removing the client-side half of WebAuthn origin binding; whether this leads to account access depends on whether the relying party verifies the origin in clientDataJSON.

CVSS 4.0 · 2.1 Low EPSS n/a KEV · Not listed
Vendors
—
Products
—
CVE-2026-144660

Nextcloud Android App Resets Share Passwords to a Fixed Placeholder When Editing Shares

Nextcloud Android app 3.33.0 through 33.0.1 resets the password of a password-protected share to a fixed string when the share is edited. FileDetailsSharingProcessFragment filled the password field with the literal placeholder "••••••" for existing password-protected shares, and updateShare() sent the field's contents to the server as the new password unless the user had focused the field. Users who edit such a share in the app, for example to change its expiration date, permissions or label, silently replace its password with this publicly known value, so anyone who has the share link can open the share with "••••••" while the original password stops working.

CVSS 4.0 · 6 Medium EPSS n/a KEV · Not listed
Vendors
—
Products
—
CVE-2026-142928

crypto: rsassa-pkcs1 - reject undersized keys when verifying

In the Linux kernel, the following vulnerability has been resolved: crypto: rsassa-pkcs1 - reject undersized keys when verifying rsassa_pkcs1_verify() accepts any nonzero key size. With a one-byte key and a zero RSA result, the leading-zero handling decrements dst_len to zero and advances out_buf past the allocation. The next out_buf[0] access reads out of bounds. KASAN reports: BUG: KASAN: slab-out-of-bounds in rsassa_pkcs1_verify+0x79d/0x900 Read of size 1 at addr ... The buggy address is located 0 bytes to the right of allocated 73-byte region [...] Reject keys shorter than the minimum PKCS#1 v1.5 encoded message size.

CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2026-142929

USB: usbmon: fix null-ptr-deref in mon_bus_remove() when mon_bus_init() fails

In the Linux kernel, the following vulnerability has been resolved: USB: usbmon: fix null-ptr-deref in mon_bus_remove() when mon_bus_init() fails When mon_bus_init() fails to allocate the mon_bus struct, it returns without setting ubus->mon_bus, so mbus->mon_bus remains NULL. mon_bus_add() intentionally ignores this failure because the USB core does not require monitoring to be established for normal operation. However, when the HCD is later removed, usb_remove_hcd() fires the USB_BUS_REMOVE notifier which calls mon_bus_remove(), it dereferences ubus->mon_bus without checking for NULL, causing a null-ptr deference. Fix this by adding a NULL check for mbus at the top of mon_bus_remove(). If mon_bus_init() failed, ubus->mon_bus is NULL, meaning the bus was never tracked by the monitor, so there is nothing to clean up and returning early is correct.

CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2026-142931

irqchip/gic-v3-its: Don't WARN on LPI free allocation failure

In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Don't WARN on LPI free allocation failure free_lpi_range() cannot give LPIs back to the allocator without allocating a struct lpi_range to describe the freed range, so it returns -ENOMEM (its only failure mode) when that allocation fails, and its_lpi_free() turns this into a WARN_ON(). syzbot triggers the WARN_ON() by injecting a slab allocation failure on device teardown, which with panic_on_warn becomes a panic: WARNING: drivers/irqchip/irq-gic-v3-its.c:2251 at its_msi_teardown+0x3a4/0x424 its_msi_teardown+0x3a4/0x424 msi_remove_device_irq_domain+0x16c/0x27c msi_device_data_release+0x38/0x9c The failure is transient and the consequence benign: the freed range is simply never returned to the allocator. This does not warrant a WARN_ON() backtrace, so log a rate-limited error instead.

CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp-es8336: Use an owned codec device reference acpi_get_first_physical_node() returns a borrowed device pointer. If the pa-enable GPIO lookup fails, st_es8336_late_probe() puts that pointer despite not owning a reference. A later physical-node teardown can then release the device while device_del() is still using it. This was reproduced on current mainline with the real static late-probe callback and normal platform-device unregister. The GPIO lookup returned -EPROBE_DEFER and KASAN reported a slab-use-after-free in device_del(), with the object freed by acpi_unbind_one(). Use acpi_bus_get_primary_device(), which obtains a stable device reference under the physical-node lock, and release it at callback exit with scoped cleanup. Keep the reference callback-local because late probe can be retried; registering one devres action per attempt would accumulate references. The same KASAN guest with this change reached the same -EPROBE_DEFER and unregister path without KASAN, WARNING, Oops or panic. The test directly invoked the production callback and did not emulate a complete ASoC card or physical AMD hardware.

CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Vendors
Products
CVE-2026-142949

tcp: fix NULL pointer dereference when restarting a Fast Open listener

In the Linux kernel, the following vulnerability has been resolved: tcp: fix NULL pointer dereference when restarting a Fast Open listener When a valid RST is received for a Fast Open child accepted before the three-way handshake completes, reqsk_fastopen_remove() adds the request_sock to the listener's RST list if the listener is in TCP_LISTEN. An application can call shutdown(SHUT_RD) on a listener socket. inet_csk_listen_stop() checks rskq_rst_head without holding fastopenq.lock. If rskq_rst_head is NULL, it does not acquire the lock and therefore does not synchronize with an insertion by reqsk_fastopen_remove() after that function has passed the TCP_LISTEN check. The more likely outcome of this race, even without a subsequent listen(), is a leak. If reqsk_fastopen_remove() inserts a request_sock after inet_csk_listen_stop() observes an empty list and returns, the request_sock is stranded in rskq_rst_head and keeps a reference on the listener. The socket is already in TCP_CLOSE, so a subsequent close() does not call inet_csk_listen_stop() again. If listen() is called again on the same socket before the delayed list insertion, the insertion can overlap the queue initialization in reqsk_queue_alloc(). If it occurs after rskq_rst_head is set to NULL but before rskq_rst_tail is set to NULL, rskq_rst_head points to the request_sock while rskq_rst_tail is NULL. When a valid RST is later received for another accepted Fast Open child, rskq_rst_head is not NULL, so reqsk_fastopen_remove() attempts to write the request_sock pointer to rskq_rst_tail->dl_next while rskq_rst_tail is NULL. KASAN reports: BUG: KASAN: null-ptr-deref in reqsk_fastopen_remove+0x147/0x210 Write of size 8 at addr 0000000000000088 by task swapper/3/0 ... Call Trace: <IRQ> ... reqsk_fastopen_remove+0x147/0x210 tcp_check_req+0xa70/0x1060 ... tcp_rcv_state_process+0x1cb/0x2ae0 ... tcp_v4_do_rcv+0x1fe/0x740 tcp_v4_rcv+0x1744/0x2070 ... ip_protocol_deliver_rcu+0x5c/0x280 ip_local_deliver_finish+0x171/0x330 ip_local_deliver+0x107/0x370 ... </IRQ> To widen the race window, the issue was reproduced after adding mdelay(3000) immediately after reqsk_fastopen_remove() checks that the listener is in TCP_LISTEN and immediately after reqsk_queue_alloc() sets rskq_rst_head to NULL. Make inet_csk_listen_stop() acquire fastopenq.lock regardless of the value of rskq_rst_head and detach the list while holding the lock. With this synchronization, reqsk_fastopen_remove() either inserts the request_sock before inet_csk_listen_stop() acquires the lock, in which case inet_csk_listen_stop() reclaims it, or sees that the listener is not in TCP_LISTEN and does not insert anything.

CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Vendors
Products