Search vulnerabilities

Results 435,397

Export CSV
CVE-2026-139614

mtd: block: prevent reclaim I/O during request processing

In the Linux kernel, the following vulnerability has been resolved: mtd: block: prevent reclaim I/O during request processing The blktrans request callbacks run under dev->lock and may allocate memory with GFP_KERNEL. For example, mtdblock_writesect() uses vmalloc() to allocate its eraseblock cache. Direct reclaim can then recurse into block I/O and deadlock on resources held by the request being processed. syzbot reports a circular locking dependency involving the device mutex and fs_reclaim. Commit d5ba1c8ffd0b ("mtd: don't use PF_MEMALLOC") removed PF_MEMALLOC from the MTD request thread. That flag had prevented direct reclaim, so its removal made allocations during request processing eligible for reclaim without excluding I/O. Wrap request processing in mtd_queue_rq() in a NOIO scope. This covers both the request and background callbacks, including allocations made by lower MTD drivers, and prevents reclaim from initiating filesystem or block I/O.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139613

wifi: ath12k: free pending MSDUs on duplicate mon link descriptor

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: free pending MSDUs on duplicate mon link descriptor ath12k_wifi7_dp_rx_mon_mpdu_pop() aborts processing when a duplicate monitor link descriptor is detected. Previous iterations may already have linked MSDUs onto *head_msdu and detached the corresponding RX buffers from their descriptors. Returning without completing or freeing the chain leaves those skbs orphaned, resulting in a memory leak. kmemleak reports these skbs in field testing: kmemleak_alloc() __netdev_alloc_skb() ath12k_dp_rx_bufs_replenish() ath12k_wifi7_dp_rx_mon_dest_process() Free the accumulated MSDU chain before returning and clear *head_msdu so callers observe a consistent state. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139612

wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop ath12k_wifi7_dp_rx_mon_mpdu_pop() assigns *tail_msdu from the loop cursor msdu at function exit. That cursor reflects the state of the last msdu_list entry processed, not the end of the accumulated MSDU chain: on next_msdu paths (invalid skb, drop_mpdu, first-MSDU rx_desc invalid) it is set to NULL, and on the set_pktlen failure path it becomes a dangling pointer to a freed skb. When these occur on the final iteration, callers see head_msdu populated with a valid chain while tail_msdu is NULL or points to freed memory. The chain end is already tracked by the local variable last, which is updated only after each MSDU has been validated and linked. Use it as the source for tail_msdu so head_msdu and tail_msdu are either both NULL or both point into the same live chain. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139611

wifi: ath12k: fix skb leak on monitor PPDU ID wraparound

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix skb leak on monitor PPDU ID wraparound ath12k_dp_mon_comp_ppduid() updates *ppdu_id and returns msdu_ppdu_id to indicate that a PPDU transition was detected. When PPDU IDs wrap around, msdu_ppdu_id can be 0. In that case the function updates *ppdu_id but returns 0, causing ath12k_wifi7_dp_rx_mon_mpdu_pop() to interpret the result as "no PPDU update" and continue processing the MPDU. The MSDUs are then linked into head_msdu while their RX descriptors have already been detached. Later, ath12k_wifi7_dp_rx_mon_dest_process() detects the PPDU mismatch and exits with the partially built MSDU chain, leaking the SKBs. kmemleak reports the leak through: kmemleak_alloc() __netdev_alloc_skb() ath12k_dp_rx_bufs_replenish() ath12k_wifi7_dp_rx_mon_dest_process() Fix this by returning a boolean value from ath12k_dp_mon_comp_ppduid() so the update notification is independent of the actual PPDU ID value. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139610

hfs/hfsplus: serialize B-tree close against folio release

In the Linux kernel, the following vulnerability has been resolved: hfs/hfsplus: serialize B-tree close against folio release B-tree nodes with a zero reference count remain in the node hash until folio reclaim or tree teardown frees them. The folio release callbacks remove nodes while holding hash_lock, but hfs_btree_close() walks and frees the same hash without that lock. Reclaim can therefore unhash and free a node after close has loaded its pointer, causing a use-after-free or double-free. The following syzkaller crashes seem to be the same UAF in {hfs,hfsplus}_btree_close() (or {hfs,hfsplus}_bnode_unhash()) and follow the same pattern, but do not contain a reproducer to confirm. Detach each node with hfs_bnode_unhash() while holding hash_lock before inspecting and freeing it. Drop the lock before hfs_bnode_free() so a large tree is not freed while holding a spinlock. Apply the same fix to the matching HFS+ implementation.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139609

bpf: Avoid quadratic successor rescan in bpf_compute_scc

In the Linux kernel, the following vulnerability has been resolved: bpf: Avoid quadratic successor rescan in bpf_compute_scc The iterative Tarjan DFS in bpf_compute_scc() emulates recursion with an explicit 'dfs' stack: when a successor has not been visited yet, the successor is pushed and the walk restarts at the top of the loop. On the way back to a vertex the successor scan starts over at index zero, so a vertex with k successors rescans up to k successors on each of its up to k descents, i.e. O(k^2) work. For ordinary instructions k <= 2 and this is irrelevant. For a gotox the successors are the jump table of the containing subprogram, whose size is bounded only by the max_entries of the insn_array map, so k can reach the 1M instruction complexity limit. Loading such a program keeps a CPU busy in the loop for a very long time before verification even begins. Record in 'dfs_pos' the successor index each frame stopped at and resume the scan there. Each edge is therefore examined a bounded number of times and the walk becomes linear in the number of edges.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139608

bpf: Bound the number of indirect jump edges in a program

In the Linux kernel, the following vulnerability has been resolved: bpf: Bound the number of indirect jump edges in a program Every gotox instruction gets its own copy of the jump table of the subprog containing it, and each distinct target in that table is a CFG successor of the instruction. The number of such edges is therefore the number of gotox instructions times the number of distinct targets, and neither factor is bounded by anything except the instruction limit. What is expensive is a BPF prog whose gotox instructions are themselves the targets, which makes the edge count quadratic. 1024 such gotox are already ~1e6 edges and about 4s of CPU to load. Bound the total across the program at BPF_COMPLEXITY_LIMIT_INSNS, aka the limit on the number of instructions the verifier processes. Progs with real switch statements are orders of magnitude below this. This bounds the edges only. Building the jump table of a gotox costs the number of entries of all insn array maps regardless of how many distinct targets they hold, which a later patch addresses separately.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139607

bpf: Rebase the exception callback subprog when dead subprogs are removed

In the Linux kernel, the following vulnerability has been resolved: bpf: Rebase the exception callback subprog when dead subprogs are removed adjust_subprog_starts_after_remove() compacts subprog_info[] and the func_info when whole subprograms are removed as dead code, but leaves env->exception_callback_subprog alone, so an exception callback declared through the exception_callback decl tag which sits behind a removed subprogram keeps its old index. jit_subprogs() then takes the exception callback from func[] at that index, which is past the end when the callback was the last subprogram, or another subprogram otherwise. Rebase the index along with the entries it refers to.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139606

bpf: Leave out the hidden exit edge of a subprogram without an exit

In the Linux kernel, the following vulnerability has been resolved: bpf: Leave out the hidden exit edge of a subprogram without an exit visit_abnormal_return_insn() gives tail_call and ld_{abs,ind} insns a second successor, the exit_idx of their subprogram, so that the hidden exit from the subprogram is part of the CFG. check_subprogs() only assigns exit_idx when it walks over a BPF_EXIT, and a subprogram whose last insn jumps back into itself never has one, so exit_idx stays zero and the edge points at insn 0 of the program: 0: r0 = 0 1: r0 = *(u8 *)skb[0] 2: goto -2 For a subprogram other than main, update_insn() then reads the liveness masks at a negative relative index. Such a subprogram can still load when it leaves through a bpf_throw(), so mark exit_idx as unset in that case and leave the hidden edge out, as there is no exit for it to reach.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139605

bpf: Don't remove indirect jump targets in the nop removal pass

In the Linux kernel, the following vulnerability has been resolved: bpf: Don't remove indirect jump targets in the nop removal pass bpf_opt_remove_nops() drops every ja +0 and may_goto +0 unconditionally. A gotox target may itself be such a transparent nop: it is a verified entry of an insn array jump table that is reachable at run time through the indirect jump. bpf_insn_array_adjust_after_remove() marks it as INSN_DELETED instead, and bpf_insn_array_ready() skips INSN_DELETED entries, so the program loads with a hole in its jump table. The x86 JIT, for example, lowers gotox to a raw indirect jump, so executing that index jumps to the zeroed ips[] slot, that is, to address 0. Fix by keeping an indirect jump target in place.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139604

bpf: Clear the insn array used flag with release semantics

In the Linux kernel, the following vulnerability has been resolved: bpf: Clear the insn array used flag with release semantics A program that fails after the JIT ran, for example in bpf_check_tail_call(), has already stored its jitted offsets and target pointers into the insn array maps it uses through bpf_prog_update_insn_ptrs() when release_insn_arrays() hands them back by clearing the used flag with a plain atomic_set(). Nothing orders those stores before the flag, so on a weakly ordered architecture they can still be in flight when the next program takes the map: it is acquired with atomic_xchg() in bpf_insn_array_init() and reset there, and the late stores then land on top of whatever the new owner has written since, be it that reset or the pointers its own JIT stored, leaving entries that point into an image which is about to be freed. Clear the flag with atomic_set_release() instead, so that everything the releasing program stored is visible before the map can be acquired again. This pairs with the fully ordered atomic_xchg() on the acquire side.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139603

bpf: Skip zero-length stream writes

In the Linux kernel, the following vulnerability has been resolved: bpf: Skip zero-length stream writes A stream write whose formatted output is empty still allocates a stream element and links it into the stream log. Capacity accounting only counts payload bytes, so such elements never count against the stream limit, and a program that keeps producing empty output allocates elements without bound until a reader drains them. Return success without allocating anything when there is nothing to write, for both bpf_stream_vprintk() and staged writes. Every element in a stream log then carries at least one byte, which later changes rely on when they derive read readiness from published byte counts.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139602

iommu/vt-d: Handle DID reservation errors when copying context tables

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Handle DID reservation errors when copying context tables When kdump reuses old translation tables, all old domain IDs (DIDs) must be reserved in the new kernel before new domains are created. Today copy_context_table() ignores ida_alloc_range() return values, so a real -ENOMEM can be missed and an ID may stay unreserved. That can allow DID reuse while stale hardware cache entries still exist, risking domain aliasing. Fix this by moving DID reservation into a helper that: - treats duplicate reservations (-ENOSPC) as expected success, - skips out-of-range IDs as success, - propagates real allocation failures (like -ENOMEM), and - normalize successful return values. On failure, unwind as in existing copy-allocation failure paths.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139601

iommu/vt-d: Fix iopf refcount leak in nested attach

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix iopf refcount leak in nested attach intel_nested_attach_dev() takes an iopf reference for the new domain but does not drop the possible reference from the old domain. This leaks info->iopf_refcount, can keep the device permanently on the iopf queue, and later triggers WARN_ON(info->iopf_refcount) when PRI is disabled. Fix this by dropping the possible reference from the old domain after the nested translation setup completes.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139600

wifi: mac80211: Fix a race when expiring a mesh path

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: Fix a race when expiring a mesh path My static analyzer identified a potential issue in 'net/mac80211/mesh_pathtbl.c': mpath_expired() reads mpath->flags and mpath->exp_time without holding mpath->state_lock, while mesh_path_fix_nexthop() and the other writers update both fields under that lock. In mpath_lookup() and __mesh_path_lookup_by_idx() the unlocked check is followed by taking the lock and clearing MESH_PATH_ACTIVE, so the check and the update are not atomic: CPU0 (mpath_lookup) CPU1 (mesh_path_fix_nexthop) mpath_expired() reads the stale flags/exp_time and returns true spin_lock_bh(&mpath->state_lock) mpath->exp_time = 0; mpath->flags = FIXED|SN_VALID; mesh_path_activate(mpath); spin_unlock_bh(&mpath->state_lock) spin_lock_bh(&mpath->state_lock) mpath->flags &= ~MESH_PATH_ACTIVE; spin_unlock_bh(&mpath->state_lock) A path which mesh_path_fix_nexthop() has just set up as MESH_PATH_FIXED and MESH_PATH_ACTIVE then has MESH_PATH_ACTIVE cleared again, and forwarding to that destination silently stops. Take mpath->state_lock before evaluating mpath_expired() so that the check and the clearing of MESH_PATH_ACTIVE are atomic with respect to the writers.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139599

RDMA/irdma: Free IRQ when CEQ vector mapping fails

In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Free IRQ when CEQ vector mapping fails irdma_cfg_ceq_vector() registers an IRQ handler before requesting the CEQ-to-vector mapping through the virtual channel. If the mapping fails, the function returns without releasing the IRQ resources. The caller destroys the CEQ, leaving the IRQ handler registered and potentially referencing freed memory. Call irdma_destroy_irq() on mapping failure to release the IRQ resources and drain the associated tasklet before the caller destroys the CEQ. Use the same dev_id passed to request_irq(), accounting for CEQ0 sharing its interrupt vector with the AEQ.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139598

RDMA/hns: Pin CQ buffer writable to match device DMA write access

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Pin CQ buffer writable to match device DMA write access alloc_cq_buf() leaves user_access zero-initialized, but the device writes CQEs into the CQ buffer. Set IB_ACCESS_LOCAL_WRITE so the buffer is pinned writable, matching the device's write access.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139597

RDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA write access

In the Linux kernel, the following vulnerability has been resolved: RDMA/vmw_pvrdma: Pin QP and SRQ rings writable to match device DMA write access pvrdma embeds a pvrdma_ring_state header directly inside the QP and SRQ ring buffers, and the hypervisor writes cons_head into that header. Pinning with access=0 does not force a private page copy (no FOLL_WRITE), so the hypervisor may write into a shared page. Pass IB_ACCESS_LOCAL_WRITE for all three rings. The SRQ ring_state is not currently used by the driver but is pinned writable for consistency.

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139596

RDMA/mlx5: Set WQ event handler before firmware RQ insertion

In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set WQ event handler before firmware RQ insertion create_rq() inserts the RQ into dev->qp_table.tree, making it visible to rsc_event_notifier() before rwq->core_qp.event was assigned. A firmware WQ_CATAS_ERROR event in that window finds a NULL event pointer. Move the assignment before create_rq().

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products
CVE-2026-139595

RDMA/mlx5: Set SRQ event handler before xarray insertion

In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set SRQ event handler before xarray insertion mlx5_cmd_create_srq() stores the SRQ into the xarray before srq->msrq.event was assigned. A firmware SRQ event arriving in that window calls through a NULL pointer. Move the assignment before mlx5_cmd_create_srq().

CVSS n/a EPSS n/a KEV · Not listed
Vendors
Products