Search vulnerabilities

Results 435,311

Export CSV
CVE-2026-139124

blk-mq: don't bring back flags of a completed request

In the Linux kernel, the following vulnerability has been resolved: blk-mq: don't bring back flags of a completed request The timeout handler sets and clears RQF_TIMED_OUT in a request it only holds a reference to, with a plain read-modify-write, while the completion clears flags in rq_flags the same way. If the two interleave, blk_mq_finish_request() runs twice with the flags back: the zone write plug reference is dropped twice and the scheduler's ->finish_request() is called again. Change RQF_TIMED_OUT with cmpxchg, so the handler never writes back a flag that changed under it.

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

blk-mq: don't forget a timer the driver has restarted

In the Linux kernel, the following vulnerability has been resolved: blk-mq: don't forget a timer the driver has restarted If ->timeout() returns BLK_EH_RESET_TIMER, blk_add_timer() gives the request a new deadline that blk_mq_timeout_work() doesn't know about when it picks the next expiry. A 2s nbd read next to a 60s one expires once and then not again for a minute. Let the new deadline take part.

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

blk-mq: quiesce a queue that joins a quiesced tag set

In the Linux kernel, the following vulnerability has been resolved: blk-mq: quiesce a queue that joins a quiesced tag set blk_mq_quiesce_tagset() only quiesces the queues on the list at that moment. A queue added before blk_mq_unquiesce_tagset() runs unquiesced, and then gets unquiesced without ever having been quiesced, which trips the warning in blk_mq_unquiesce_queue(). NVMe gets there when a controller fails while its namespaces are being scanned. Count the quiesce calls in the tag set and quiesce a joining queue that many times, under a spinlock that also serializes the two functions. It can't be tag_list_lock, see commit 59e25ef2b413.

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

blk-mq: exit the hctxs of a queue under tag_list_lock

In the Linux kernel, the following vulnerability has been resolved: blk-mq: exit the hctxs of a queue under tag_list_lock blk_mq_update_nr_hw_queues() exits and replaces the hctxs of every queue on set->tag_list under tag_list_lock. blk_mq_exit_queue() exits its hctxs without the lock and only then takes the queue off the list, so an update running at the same time exits them again and sets up new ones that nobody exits. del_gendisk() is kept away by update_nr_hwq_lock, disk_release() of a never added disk and blk_mq_destroy_queue() are not, and nvme_alloc_ns() drops such a disk when it finds the queues frozen by a reset. Hold tag_list_lock for both steps.

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

blk-mq: set up a queue under tag_list_lock

In the Linux kernel, the following vulnerability has been resolved: blk-mq: set up a queue under tag_list_lock blk_mq_init_allocated_queue() only takes tag_list_lock at the end, when it adds the queue to the set. Before that it sizes the queue by set->nr_hw_queues, hands out set->tags[], maps by set->map[], and blk_mq_map_swqueue() frees tags of the set. An update clearing the maps at that time makes the new queue free tags that all the other queues share. An NVMe controller reset during a namespace scan does exactly that. Take the lock before the first look at the set. An update can be part of error handling, so the allocations under the lock must not wait for IO: memalloc_noio_save(), as in add_disk_fwnode().

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

block: partitions/mac: compute the sectors in 64 bits

In the Linux kernel, the following vulnerability has been resolved: block: partitions/mac: compute the sectors in 64 bits start_block and block_count are converted to 512 byte sectors in 32-bit arithmetic, although put_partition() takes a sector_t. With a block size above 512 bytes anything beyond 2TiB wraps and the partition lands on top of another one.

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

blk-mq: free the bitmaps of tags in the SRCU callback

In the Linux kernel, the following vulnerability has been resolved: blk-mq: free the bitmaps of tags in the SRCU callback Commit ad0d05dbddc1 keeps struct blk_mq_tags and the requests until the iterators under tags_srcu are gone, but the two bitmaps they walk are still freed right away. When the number of hardware queues shrinks, blk_mq_tagset_busy_iter() may be about to walk tags that __blk_mq_update_nr_hw_queues() frees. sbitmap_free() clears the map pointer, so that's a NULL dereference or a use-after-free, depending on the timing. Free the bitmaps with the rest in the callback.

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

drbd: stop the start_resync timer of a dying device

In the Linux kernel, the following vulnerability has been resolved: drbd: stop the start_resync timer of a dying device start_resync_timer gets armed for up to a second and nothing ever deletes it, so drbd_destroy_device() can free the device with the timer pending. Shut it down where request_timer is shut down.

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

drbd: take req_lock to skip the initial sync as peer

In the Linux kernel, the following vulnerability has been resolved: drbd: take req_lock to skip the initial sync as peer _drbd_set_state() must be called with req_lock held. drbd_adm_new_c_uuid() does, receive_uuids() on the peer doesn't, so a concurrent state change gets lost: the device is Secondary again, or its failed disk UpToDate, while the work for the lost change is already queued.

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

block/rnbd-srv: don't free the device on a sysfs error

In the Linux kernel, the following vulnerability has been resolved: block/rnbd-srv: don't free the device on a sysfs error rnbd_srv_create_dev_sysfs() drops the only kobject reference on its error paths, and the release function frees the rnbd_srv_dev. process_msg_open() keeps using it and ends in destroy_device() with a list_del() and a second kfree(). This doesn't need memory pressure: a client opening a device while its last mapping goes away gets -EEXIST from kobject_add() against the old directory. Only undo kobject_add() on failure and leave the reference to destroy_device(). Initialise the kobject once, the next open retries.

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

block/rnbd-srv: drop the sess_dev kobject unlocked

In the Linux kernel, the following vulnerability has been resolved: block/rnbd-srv: drop the sess_dev kobject unlocked rnbd_srv_create_dev_session_sysfs() drops the kobject reference when it fails. The release function is rnbd_destroy_sess_dev(), which takes srv_dev->lock, and the caller holds that lock: the worker deadlocks on itself. A client opening one device as "ram0" and "./ram0" gets there through -EEXIST from kobject_add(). Have process_msg_open() drop the reference after releasing the lock, and leave the rest of the cleanup to the release function.

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

rnbd-srv: fix use-after-free on two CLOSE messages

In the Linux kernel, the following vulnerability has been resolved: rnbd-srv: fix use-after-free on two CLOSE messages process_msg_close() looks the sess_dev up with a kref, drops it right away, and only then takes the session mutex for the teardown. A session has several connections handled by different workers, so two CLOSE messages for the same ID both finish the lookup before either one tears the sess_dev down, and the second one works on freed memory. Any host that can open a device on the server can do that. Take the mutex first and look the ID up with xa_load() under it. The second CLOSE then finds nothing.

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

rnbd-srv: publish the sess_dev at the end of OPEN

In the Linux kernel, the following vulnerability has been resolved: rnbd-srv: publish the sess_dev at the end of OPEN rnbd_sess_dev_alloc() stores the empty sess_dev in the XArray as its first step. An IO message with the new ID from another connection can find it before bdev_file is set, or hold a reference while a failing OPEN frees it after a mere RCU grace period. Both are reachable from any host that can open a device. Reserve the ID with a NULL entry and store the sess_dev once nothing can fail anymore. The error path still erases the ID, and no longer needs synchronize_rcu().

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

blk-iocost: publish hweights as one atomic value

In the Linux kernel, the following vulnerability has been resolved: blk-iocost: publish hweights as one atomic value current_hweight() publishes the cache generation and both weights with separate stores. Refreshers running on different CPUs can interleave their stores and leave a new generation paired with weights from an older calculation. The compiler can also reorder the generation store before the weight stores, so a reader that sees the new generation can accept stale weights. A stale weight is not only a reporting artifact. It feeds the cost calculation and the donation logic, where an inconsistent combination can lead to a zero divisor in transfer_surpluses(). In addition, the slow path rereads iocg->hweight_active/inuse after publishing them, so the value it returns can be the one written by another refresher instead of the locally computed one. Pack the generation and both weights into a single atomic64_t and publish them with one atomic write. Readers take one atomic snapshot and return the local values. Weights are in [1, WEIGHT_ONE]; storing each minus one preserves the full range in 16 bits and leaves 32 bits for the generation. The two weight fields remain as the donation workspace used under ioc->lock. Tracepoints decode the packed cache without refreshing it and iocost_monitor.py is updated accordingly. Developed with assistance from Claude Code (Anthropic): the assistant drafted the packed representation, the helpers and the tracepoint/monitor changes, and ran the checks listed below. The author reviewed the result and remains responsible for it.

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

sstp-client: stack-based buffer overflow in sstp_http_get via HTTP response headers

A flaw was found in sstp-client. A stack-based buffer overflow in sstp_http_get() can be triggered when parsing HTTP headers from an SSTP server response before authentication. A remote peer can cause the client to crash. On builds without stack protector, this may allow code execution. The overflow is caused by an off-by-one loop bound when filling fixed http_header_st arrays and by sscanf field widths that exceed the destination buffers by one byte. It is reachable while handling the first HTTP response from a malicious or man-in-the-middle SSTP server, before PPP authentication. Fixed upstream in commit 289866a427b462f37af4c6c4842721c98c49a5f5 (bounds check and corrected sscanf widths). No upstream release tag contains the fix yet; the latest tag is 1.0.20.

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

apparmor: mediate AF_UNSPEC socket disconnects

In the Linux kernel, the following vulnerability has been resolved: apparmor: mediate AF_UNSPEC socket disconnects aa_inet_connect_perm() returns success immediately for AF_UNSPEC before checking the active AppArmor profile. AF_UNSPEC is the socket disconnect operation for TCP and UDP. A process confined by a profile containing deny network can therefore disconnect inherited sockets even though ordinary socket creation and connect calls are denied. console output: https://gist.githubusercontent.com/shaos26/73b057c77b9ea22d5e6813c259dbf43c/raw/fab5c58d6f184f5fab88a3a31a80c2b919efecf0/console-output.txt reproduction kernel config: https://gist.githubusercontent.com/shaos26/73b057c77b9ea22d5e6813c259dbf43c/raw/b9192c97c92fdd3b59089704bad6fbd0a33ccf06/kernel-config.txt reproducer: https://gist.githubusercontent.com/shaos26/73b057c77b9ea22d5e6813c259dbf43c/raw/92c7dd098a227276fe3daeea45996e2848e66439/poc.c Build the kernel from HEAD with the attached reproduction config, then make a one-file initramfs. The PoC mounts sysfs and securityfs itself; DEVTMPFS_MOUNT supplies /dev/console. mkdir -p build rootfs cp kernel-config.txt build/.config make O=build olddefconfig make O=build -j"$(nproc)" bzImage cc -O2 -static -Wall -Wextra -o poc poc.c cp poc rootfs/poc (cd rootfs && find poc | cpio -o -H newc --owner=0:0) | gzip -9 > initramfs.cpio.gz timeout 900 qemu-system-x86_64 -kernel build/arch/x86/boot/bzImage \ -initrd initramfs.cpio.gz -append "console=ttyS0 rdinit=/poc panic=-1 loglevel=7 lsm=apparmor security=apparmor apparmor=1" \ -nographic -m 1024 -smp 1 -no-reboot 2>&1 | tee console.log Under the deny-network profile, socket() and connect(AF_INET) returned EACCES, but connect(fd, AF_UNSPEC) returned success and tore down the inherited connection and listener. Two fresh boots matched. A one-line control that routed AF_UNSPEC through aa_sk_perm returned EACCES and kept both sockets alive. Impact and prerequisites: A confined process that inherits a TCP/UDP socket can bypass the profile's network mediation for disconnect and disrupt that socket. The finding does not permit socket creation, bind, or arbitrary peer connections; no privilege escalation is demonstrated.

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

apparmor: fix a leak on a rejected string table entry

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix a leak on a rejected string table entry unpack_strs_table() stores each entry into the table only after validating it, so an entry the validation rejects is never freed. Up to 64KB leaks per rejected entry. Store the pointer before validating it.

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

apparmor: fix table_size() integer overflow on 32 bit

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix table_size() integer overflow on 32 bit table_size() checks ALIGN(sizeof(struct table_header) + len * el_size, 8) in size_t, where @len is td_lolen, a u32 user-provided value from the policy blob. On 32 bit kernels both operations can overflow. Triggering this bug allows to: - overflow a 16 byte allocation with up to 4GiB of policy data - store the table header at address ZERO_SIZE_PTR (kvzalloc(0)) However, this bug requires CAP_MAC_ADMIN, only affects 32 bit kernels, and the copy runs until the machine is destroyed, so it gives no controllable primitive and is therefore not a security issue. Compute the size with the checked helpers and return 0 when the result is not representable, so the callers can reject the table. A valid table is never 0 bytes, the header alone is 12. 64 bit kernels cannot overflow (these structs are 32 bit), and are hence not affected.

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

apparmor: convert duplicated dfa transitions to match_char()

In the Linux kernel, the following vulnerability has been resolved: apparmor: convert duplicated dfa transitions to match_char() For historical reasons several matchers duplicate the dfa character transition instead of using match_char(). This is because aa_dfa_match_until() and aa_dfa_matchn_until() were written on a branch that did not yet have match_char(), and copied code from aa_dfa_match(). leftmatch_fb() used the same pattern. When match_char() added support for diff-encoded states, the change was never ported to these copies. match_char() resolves a diff encoded state by using def[state] and retrying the same character, until it reaches a state with a valid transition. The copies instead do a simple `state = def[state];` after the character is consumed, so on a diff encoded state one byte is dropped and the walk continues from the diff parent in the wrong state. This makes an unnamed px/Px/cx/Cx transition resolve to no profile, and exec fails with apparmor="DENIED" operation="exec" info="profile transition not found" Convert the three copies to match_char(). For a dfa with no diff encoded state this is a no-op. This bug is latent until the kernel advertises policy/diff-encode.

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

apparmor: check connect permission for SCTP

In the Linux kernel, the following vulnerability has been resolved: apparmor: check connect permission for SCTP SCTP can start an association through sendmsg() or CONNECTX. These paths call the SCTP-specific sctp_bind_connect hook instead of the normal socket connect hook, but AppArmor does not register it. As a result, a profile can deny connect and allow send or setopt, yet a task can still create an SCTP association. Register the SCTP hook. Ask for connect permission when SENDMSG_CONNECT or CONNECTX creates an association.

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