A concurrency vulnerability in the Linux kernel's ocfs2/heartbeat component allowed concurrent writes to a region's dev attribute, leading to potential double-free and null pointer dereference crashes. The flaw was due to insufficient serialization of writes to the hr_bdev_file attribute, enabling race conditions between multiple writers. The issue has been resolved by introducing a mutex to serialize access to the affected region attributes.
CVE-2026-139785 is a vulnerability in the Linux kernel's memory management subsystem related to the handling of atomic and sticky VMA (Virtual Memory Area) flags during VMA merges. The flaw allows atomic VMA flags to be lost when sticky flags are set, due to improper locking and ordering of flag propagation. This can cause failures in propagating guard region markers and issues with transparent huge page (THP) collapse for file-backed VMAs. The vulnerability has been fixed in Linux kernel version 6.18.65 and version 6.19.
A vulnerability in the Linux kernel's remoteproc imx_rproc driver caused valid memory mapping requests that end exactly at the boundary of a mapped region to be incorrectly rejected. This issue affected address range checks that used strict exclusive comparisons, preventing ELF segments that fill an entire mapped memory region from being properly loaded.
A vulnerability in the Linux kernel cxl/region subsystem was fixed by ensuring that the pmem region is unregistered when the bridge is unbound. Previously, a race condition could cause a pmem_region device to be leaked, leading to resource pinning and inconsistent device numbering upon re-binding. This issue was identified through code inspection and reliably reproduced before the patch.
A vulnerability in the Linux kernel's RDMA/rxe subsystem allowed prefetching of a non-On-Demand Paging (ODP) Memory Region (MR), leading to out-of-bounds memory reads. This was due to missing validation of MR type before passing it to functions expecting ODP MRs. The issue was fixed by adding proper checks to reject prefetch requests for non-ODP MRs.
A vulnerability in the Linux kernel's RDMA core subsystem was fixed by clearing driver user data before destroying objects. The flaw occurred when user object creation failed after hardware object creation, causing the driver's destroy callback to receive incorrect user data, potentially leading to failure in the destroy call. This issue also affected the memory region reregistration path. The fix ensures driver user data is cleared before invoking the destroy method.
CVE-2026-139357 is a high-severity vulnerability in the Linux kernel's RDMA rxe driver affecting version 6.15. It involves an out-of-bounds read in the rxe_check_pagefault() function due to improper bounds checking of the ODP page index against the umem. This flaw allows an unprivileged local user to potentially read and write memory outside the registered memory region via a crafted RDMA operation on a self-connected rxe queue pair. The issue has been fixed by adding proper bounds checking to reject out-of-range indexes and handle faults correctly.
A vulnerability in the Linux kernel's devlink subsystem causes a snapshot ID reference count leak when kernel-allocated snapshot IDs are used. This leads to snapshot IDs persisting indefinitely, preventing reuse of those IDs and causing errors when attempting to create snapshots with the same ID.
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: reject inconsistent local xattr entries
[BUG]
A corrupt OCFS2 xattr entry can set OCFS2_XATTR_ENTRY_LOCAL while
keeping xe_value_size larger than OCFS2_XATTR_INLINE_SIZE. When that
entry reaches namevalue_size_xe(), the filesystem hits its BUG_ON:
kernel BUG at fs/ocfs2/xattr.c:231!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
RIP: 0010:namevalue_size_xe fs/ocfs2/xattr.c:231 [inline]
RIP: 0010:ocfs2_xa_block_wipe_namevalue+0x2e4/0x330 fs/ocfs2/xattr.c:1638
Call Trace:
ocfs2_xa_wipe_namevalue fs/ocfs2/xattr.c:1470 [inline]
ocfs2_xa_remove_entry+0xae/0x1d0 fs/ocfs2/xattr.c:1941
ocfs2_xa_remove fs/ocfs2/xattr.c:2043 [inline]
ocfs2_xa_set+0x11a8/0x30a0 fs/ocfs2/xattr.c:2247
ocfs2_xattr_ibody_set+0x302/0xc50 fs/ocfs2/xattr.c:2795
__ocfs2_xattr_set_handle+0x7e6/0xdb0 fs/ocfs2/xattr.c:3416
ocfs2_xattr_set+0x1447/0x2610 fs/ocfs2/xattr.c:3650
ocfs2_xattr_security_set+0x37/0x50 fs/ocfs2/xattr.c:7241
__vfs_removexattr+0x14d/0x1d0 fs/xattr.c:518
cap_inode_killpriv+0x29/0x50 security/commoncap.c:355
security_inode_killpriv+0x105/0x220 security/security.c:2724
setattr_prepare+0x147/0x8a0 fs/attr.c:219
ocfs2_setattr+0x504/0x1fd0 fs/ocfs2/file.c:1148
notify_change+0x4b5/0x1030 fs/attr.c:546
do_truncate+0x1d2/0x230 fs/open.c:68
handle_truncate fs/namei.c:3596 [inline]
do_open fs/namei.c:3979 [inline]
path_openat+0x260f/0x2ce0 fs/namei.c:4134
do_filp_open+0x1f6/0x430 fs/namei.c:4161
do_sys_openat2+0x117/0x1c0 fs/open.c:1437
...
[CAUSE]
namevalue_size_xe() assumes that local entries contain an inline value
no larger than OCFS2_XATTR_INLINE_SIZE. Existing xattr metadata
validation only checks whether the value fits the storage region, and
cached entries can reach lookup and bucket maintenance paths without a
semantic check. A corrupt entry can therefore be passed to
namevalue_size_xe().
[FIX]
Validate the local/value-size invariant in the existing flat and bucket
metadata validators and before accepting matched entries or traversing
bucket entries in paths that call namevalue_size_xe(). Return an OCFS2
corruption error instead of firing the assertion.
A vulnerability in the Linux kernel's mtd: rawnand: ndfc driver was fixed by replacing manual memory mapping and unmapping code with the managed devm_platform_ioremap_resource() helper. This change addresses a mapping leak that occurred on driver removal because the old code did not call iounmap(), and it simplifies error handling in the probe function. The fix does not introduce overlapping memory region conflicts due to unique register regions per board and distinct chip selects.
A vulnerability in the Linux kernel's media subsystem related to the Venus video processing unit (VPU) IOVA allocation has been fixed. The issue involved improper allocation of IOVA space for DMA streams, where non-pixel streams could receive addresses in a range they cannot access, causing hardware faults and spontaneous reboots. The fix reserves the restricted 0-600MB IOVA range to prevent such allocations.
A vulnerability in the Linux kernel's media iris driver related to IOVA allocation has been fixed. The issue involved improper allocation of IOVA space for DMA streams, where non-pixel streams could receive addresses in a range they cannot handle, causing hardware faults and system reboots. The fix reserves the restricted IOVA range to prevent invalid allocations.
In the Linux kernel, the following vulnerability has been resolved:
dm: fix a bug in dm_accept_partial_bio
dm-writecache doesn't work in pmem mode - mkfs.ext4 and the following
fsck.ext4 fail with data corruption reported.
The commit 7dd76d1feec7 ("dm: improve bio splitting and associated IO
accounting") introduced a latent bug in dm_accept_partial_bio - it set
tio->io->sectors = n_sectors;. This is incorrect, according to the
diagram in the source code at dm_accept_partial_bio, it should be the
size of regions 1+2, not the region 2 alone.
The latent bug become real bug with the commit 8b211aaccb91 ("dm: add two
stage requeue mechanism").
dm-writecache in pmem mode is the only target that actually advances bio
with bio_advance and then calls dm_accept_partial_bio (so, the region 1
is non-empty). All the other targets call dm_accept_partial_bio with
region 1 empty, so bug went unnoticed for so long.
A Linux kernel vulnerability (CVE-2026-138894) involves a lost wakeup when waiting for a muxed resource region, causing tasks to sleep indefinitely in an unkillable state. This occurs because the task state is set after releasing a lock, allowing wakeups to be missed. The issue affects kernel version 2.6.35 and impacts hardware monitoring drivers that use muxed regions, potentially blocking multiple tasks. The flaw has been fixed by changing the order of setting the task state and releasing the lock.
In the Linux kernel, the following vulnerability has been resolved:
jbd2: don't advance j_fc_off before the buffer is recorded
jbd2_fc_get_buf() increments journal->j_fc_off before jbd2_journal_bmap()
and __getblk() have had a chance to fail. When either does, the slot
j_fc_wbuf[fc_off] is never assigned, but j_fc_off already counts it.
ext4 then fails the fast commit and falls back, and the fallback path
reaches jbd2_fc_release_bufs() via ext4_fc_commit ->
jbd2_fc_end_commit_fallback -> __jbd2_fc_end_commit -> ext4_fc_cleanup.
That walks down from j_fc_off - 1 and put_bh()es every slot until it
sees NULL, so it also touches the slot that was never written.
j_fc_wbuf comes from a plain kmalloc() and is never zeroed, so a slot
used for the first time holds uninitialised heap data.
Advance j_fc_off only after the buffer head has been stored. That
restores the invariant that j_fc_off covers exactly the filled slots,
which is what jbd2_fc_release_bufs() relies on: the live buffers of the
current fast commit sit above the NULLs the previous one released, so
stopping at the first NULL is correct.
Reproduced on a KASAN kernel with an ext4 fast_commit filesystem on a
loop device, truncating the backing file under the live mount so that
only the journal's fast-commit region falls past the end of the device.
__getblk() then fails for the first fast-commit block while the rest of
the journal is still addressable, so the journal is not aborted and the
fast commit reaches the fallback path. j_fc_wbuf was poisoned to make
the read of the never-written slot visible:
BUG: KASAN: wild-memory-access in jbd2_fc_release_bufs+0x6b/0xd0
Write of size 4 at addr 5a5a5a5a5a5a5ab2 by task sync/961
jbd2_fc_release_bufs+0x6b/0xd0
ext4_fc_cleanup+0x97/0x830
__jbd2_fc_end_commit+0x37/0xc0
ext4_fc_commit+0x524/0x560
ext4_sync_file+0x3c4/0x4b0
__x64_sys_fsync+0x20/0x30
With this patch the same run leaves j_fc_off at 0 across repeated
__getblk() failures and completes cleanly.
In the Linux kernel, the following vulnerability has been resolved:
misc: fastrpc: Allocate entire reserved memory for Audio PD in probe
Allocating and freeing Audio PD memory from userspace is unsafe because
the kernel cannot reliably determine when the DSP has finished using the
memory. Userspace may free buffers while they are still in use by the DSP,
and remote free requests cannot be safely trusted.
Additionally, the current implementation allows userspace to repeatedly
grow the Audio PD heap, but does not support shrinking it. This can lead
to unbounded memory usage over time, effectively causing a memory leak.
Fix this by allocating the entire Audio PD reserved-memory region during
rpmsg probe and tying its lifetime to the rpmsg channel. This removes
userspace-controlled alloc/free and ensures that memory is reclaimed only
when the DSP process is torn down.
The reserved-memory region is now mandatory for the Audio PD domain.
Rather than failing rpmsg probe when it is missing, validate it in
fastrpc_init_create_static_process() and reject only the static-process
creation. This keeps the fastrpc device probing for all other domains
even on a misconfigured device tree.
A vulnerability in the Linux kernel's iommufd subsystem related to handling dmabuf PFNs (Page Frame Numbers) in memory-mapped IO (MMIO) contexts has been resolved. The issue involves incorrect memory type mapping when a VFIO PCI dmabuf is mapped into multiple IO address spaces (IOAS), causing some domains to map the same BAR region as cacheable CPU memory instead of MMIO. This can lead to incorrect page table entries depending on the architecture's page table format. The fix ensures dmabuf PFNs are read from recorded physical ranges before domain-specific reads, preventing improper memory type settings.
CVE-2026-99963 is a vulnerability in the Linux kernel's ocfs2 cluster heartbeat region initialization. The flaw occurs because heartbeat regions are linked into a global list before their configuration items and names are fully initialized, leading to a potential NULL pointer dereference when queried concurrently. This can cause a kernel crash due to reading uninitialized memory. The issue is fixed by initializing heartbeat regions before publishing them to ensure proper synchronization and error handling.
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: bound CreateAttribute asize against record_size in do_action
In do_action()'s CreateAttribute case (fslog.c:3286), attr2 points into
the on-disk log record and asize = le32_to_cpu(attr2->size) is therefore
attacker-controlled on mount. The guard bounds asize only against the
log record itself,
Add2Ptr(attr2, asize) > Add2Ptr(lrh, rec_len)
where rec_len is the client data length, and separately bounds dlen
against the MFT record. Nothing bounds asize against record_size, but
all three writes that follow are into rec, a kmalloc(sbi->record_size)
buffer allocated by mi_init() (record.c:105):
memmove(Add2Ptr(attr, asize), attr, used - roff);
memcpy(attr, attr2, asize);
rec->used = cpu_to_le32(used + asize);
With record_size 0x400, roff 0x38, used 0x160 and asize 0x800 the memcpy
writes 2048 bytes at rec + 0x38, 0x438 bytes past the allocation, and
rec->used is left at 0x960. dlen is 0x18 here, so the existing
dlen check passes: dlen bounds nothing about the size of the copy.
The equivalent non-replay path already refuses this. mi_insert_attr()
performs the same insert and starts with (record.c:488):
if (used + asize > sbi->record_size)
return NULL;
Apply the same bound, spelled as a subtraction to match the neighbouring
clause. used <= record_size holds here because check_file_record()
validates it (fslog.c:2826) and is called on this record at fslog.c:3172;
roff <= used - 4 follows from check_if_attr() together with the ATTR_END
check at fslog.c:2844, so bounding used + asize bounds both copies.
The sibling WriteEndOfFileRecordSegment case does the equivalent check
against record_size at fslog.c:3277.
Reproduced by mounting a crafted image on v7.2-rc5 under KASAN:
BUG: KASAN: slab-out-of-bounds in do_action.isra.0+0x41f6/0x83a0
Write of size 2048 at addr ffff888005c74838 by task mount/69
CPU: 0 UID: 0 PID: 69 Comm: mount Not tainted 7.2.0-rc5-00300-g8ba098e6b6ff #2
Call Trace:
kasan_report+0xce/0x100
kasan_check_range+0x105/0x1b0
__asan_memcpy+0x3c/0x60
do_action.isra.0+0x41f6/0x83a0
log_replay+0x920a/0xd300
ntfs_loadlog_and_replay+0x3ef/0x510
ntfs_fill_super+0x1d23/0x4550
get_tree_bdev_flags+0x2ef/0x550
vfs_get_tree+0x82/0x2f0
fc_mount+0x10/0x1b0
path_mount+0x517/0x1df0
__x64_sys_mount+0x20b/0x270
do_syscall_64+0xf9/0x540
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Allocated by task 69:
__kasan_kmalloc+0x8f/0xa0
__kmalloc_noprof+0x1b4/0x460
mi_init+0x81/0x110
mi_get+0x6a/0x220
do_action.isra.0+0x1db4/0x83a0
log_replay+0x920a/0xd300
ntfs_loadlog_and_replay+0x3ef/0x510
ntfs_fill_super+0x1d23/0x4550
The buggy address belongs to the object at ffff888005c74800
which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 56 bytes inside of
allocated 1024-byte region [ffff888005c74800, ffff888005c74c00)
A memory denial-of-service vulnerability exists in Pillow's TIFF and EXIF IFD parsing where overlapping tag data can cause memory usage to grow quadratically with input size. This affects Pillow versions from 1.0.0 up to but not including 13.0.0. The issue arises because the library retains separate bytes objects for each out-of-line IFD tag value without limiting total data read or preventing multiple tags from referencing the same file region. This can lead to process memory exhaustion when opening crafted TIFF or EXIF-bearing images. The vulnerability is fixed in Pillow 13.0.0.