Where
AND
AND
-Infinity
0
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

wifi: fix leak if split 6 GHz scanning fails

rdev->intscanreq is leaked if cfg80211scan() fails. Note that it's supposed to be released at cfg80211scandone() but this doesn't happen as rdev->scanreq is NULL at that point, too, leading to the early return from the freeing function.

unreferenced object 0xffff8881161d0800 (size 512): comm "wpasupplicant", pid 379, jiffies 4294749765 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 f0 81 13 16 81 88 ff ff ................ backtrace (crc c867fdb6): kmemleakalloc+0x89/0x90 kmallocnoprof+0x2fd/0x410 cfg80211scan+0x133/0x730 nl80211triggerscan+0xc69/0x1cc0 genlfamilyrcvmsgdoit+0x204/0x2f0 genlrcvmsg+0x431/0x6b0 netlinkrcvskb+0x143/0x3f0 genlrcv+0x27/0x40 netlinkunicast+0x4f6/0x820 netlinksendmsg+0x797/0xce0 socksendmsg+0xc4/0x160 syssendmsg+0x5e4/0x890 syssendmsg+0xf8/0x180 syssendmsg+0x136/0x1e0 x64syssendmsg+0x76/0xc0 x64syscall+0x13f0/0x17d0

Found by Linux Verification Center (linuxtesting.org).

1 / 4
Source: NVD
First published (updated )
Severity
2.4
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

media: rc: igorplugusb: fix control request setup packet

Commit eac69475b01f ("media: rc: igorplugusb: heed coherency rules") changed the control request storage from an embedded struct to an allocated pointer so it can obey DMA coherency rules.

However, the driver still passes &ir->request to usbfillcontrolurb(). That points the URB setup packet at the pointer field itself rather than at the allocated struct usbctrlrequest.

USB core then interprets pointer bytes as the setup packet. This can produce an invalid bRequestType and trigger the control direction warning reported by syzbot:

usb 2-1: BOGUS control dir, pipe 80003580 doesn't match bRequestType 0

Pass ir->request itself as the setup packet.

1 / 3
Source: MITRE
First published (updated )
Severity
2.4
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

In dualshock4parsereport of hid-playstation.c, there is a possible out-of-bounds read due to a missing bounds check. This could lead to physical information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

1 / 3
Source: OSV
First published (updated )
Severity
1
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix out-of-bounds read in dpgeteqauxrdinterval()

[Why & How] The auxrdinterval array in struct dclttprcaps is declared with MAXREPEATERCNT - 1 (7) elements, indexed 0..6. However, the offset parameter passed to dpgeteqauxrdinterval() can be as large as MAXREPEATERCNT (8) when a sink reports 8 LTTPR repeaters via DPCD. This leads to an out-of-bounds read of auxrdinterval[7] when offset is 8.

Fix this by growing auxrdinterval to MAXREPEATERCNT elements to accommodate the full range of valid repeater counts defined by the DP spec.

(cherry picked from commit a55a458a8df37a65ffda5cf721d554a8f74f6b04)

1 / 3
Source: NVD
First published (updated )
Severity
2
Use After Free
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

1 / 5
Source: Launchpad
First published (updated )
Severity
2
Use After Free
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

afunix: Fix UAF read of tail->len in unixstreamdatawait()

unixstreamdatawait() does skbpeektail(&sk->skreceivequeue) without holding any lock that prevents SKBs on that queue from being dequeued and freed. This has been the case since commit 79f632c71bea ("unix/stream: fix peeking with an offset larger than data in queue"). The first consequence of this is that the pointer comparison tail != last can be false even if last semantically refers to an already-freed SKB while tail is a new SKB allocated at the same address; which can cause unixstreamdatawait() to wrongly keep blocking after new data has arrived, but only in a weird scenario where a peeking recv() and a normal recv() on the same socket are racing, which is probably not a real problem.

But since commit 2b514574f7e8 ("net: afunix: implement splice for stream afunix sockets"), tail is actually dereferenced, which can cause UAF in the following race scenario (where testsetup() runs single-threaded, and afterwards, testthread1() and testthread2() run concurrently in two threads: static int socks[2]; void testsetup(void) { socketpair(AFUNIX, SOCKSTREAM, 0, socks); send(socks[1], "A", 1, 0); int peekoff = 1; setsockopt(socks[0], SOLSOCKET, SOPEEKOFF, &peekoff, sizeof(peekoff)); } void testthread1(void) { char dummy; recv(socks[0], &dummy, 1, MSGPEEK); } void testthread2(void) { char dummy; recv(socks[0], &dummy, 1, 0); shutdown(socks[1], SHUTWR); }

when racing like this: thread1 thread2 unixstreamreadgeneric mutexlock(&u->iolock) skbpeek(&sk->skreceivequeue) skbpeeknext(skb, &sk->skreceivequeue) mutexunlock(&u->iolock) unixstreamreadgeneric unixstatelock(sk) skbpeek(&sk->skreceivequeue) unixstateunlock(sk) unixstreamdatawait unixstatelock(sk) tail = skbpeektail(&sk->skreceivequeue) spinlock(&sk->skreceivequeue.lock) skbunlink(skb, &sk->skreceivequeue) spinunlock(&sk->skreceivequeue.lock) consumeskb(skb) [frees the SKB] tail != last: false tail: true tail->len != lastlen UAF

Fix the UAF by removing the read of tail->len; checking tail->len would only make sense if SKBs in the receive queue of a UNIX socket could grow, which can no longer happen.

Kuniyuki explained:

When commit 869e7c62486e ("net: afunix: implement stream sendpage support") added sendpage() support, data could be appended to the last skb in the receiver's queue. That's why we needed to check if the length of the last skb was changed while waiting for new data in unixstreamdatawait(). However, commit a0dbf5f818f9 ("afunix: Support MSGSPLICEPAGES") and commit 57d44a354a43 ("unix: Convert unixstreamsendpage() to use MSGSPLICEPAGES") refactored sendmsg(), and now data is always added to a new skb.

That means this fix is not suitable for kernels before 6.5.

1 / 2
Source: MITRE
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

netfs: Fix zeropoint update where isize > remoteisize

Fix the update of the zero point[] by netfsreleasefolio() when there is uncommitted data in the pagecache beyond the folio being released but the on-server EOF is in this folio (ie. isize > remoteisize). The update needs to limit zeropoint to remoteisize, not isize as isize is a local phenomenon reflecting updates made locally to the pagecache, not stuff written to the server. remoteisize tracks the server's isize.

[] The zero point is the file position from which we can assume that the server will just return zeros, so we can avoid generating reads.

Note that netfsinvalidatefolio() probably doesn't need fixing as zeropoint should be updated by setattr after truncation or fallocate.

Found with:

fsx -q -N 1000000 -p 10000 -o 128000 -l 600000 \ /xfstest.test/junk --replay-ops=junk.fsxops

using the following as junk.fsxops:

truncate 0x0 0x1bbae 0x82864 write 0x3ef2e 0xf9c8 0x1bbae write 0x67e05 0xcb5a 0x4e8f6 mapread 0x57781 0x85b6 0x7495f copyrange 0x5d3d 0x10329 0x54fac 0x7495f write 0x64710 0x1c2b 0x7495f mapread 0x64000 0x1000 0x7495f

on cifs with the default cache option.

It shows read-gaps on folio 0x64 failing with a short read (ie. it hits EOF) if the FMODEREAD check is commented out in netfsperformwrite():

if (//(file->fmode & FMODEREAD) || netfsiscacheenabled(ctx)) {

and no fscache. This was initially found with the generic/522 xfstest.

1 / 3
Source: MITRE
First published (updated )
Severity
1.8
Race Condition
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

In the Linux kernel, the following vulnerability has been resolved:

serial: qcomgeni: fix kfifo underflow when flush precedes DMA completion IRQ

When uartflushbuffer() runs before the DMA completion IRQ is delivered, the following race can occur (all steps serialized by uartportlock):

1. DMA starts: txremaining = N, kfifo contains N bytes 2. DMA completes in hardware; IRQ is pending but not yet delivered 3. uartflushbuffer() acquires the port lock and calls kfiforeset(), making kfifolen() = 0 while txremaining remains N 4. uartflushbuffer() releases the port lock 5. DMA IRQ fires; handletxdma() acquires the port lock and calls uartxmitadvance(uport, txremaining) on an empty kfifo

uartxmitadvance() increments kfifo->out by txremaining. Since kfiforeset() already set both in and out to 0, out wraps past in, causing kfifolen() to return UARTXMITSIZE - txremaining. The next starttxdma() call then submits a DMA transfer of stale buffer data.

Fix this by snapshotting kfifolen() at the start of handletxdma() and skipping uartxmitadvance() when fifolen < txremaining, which indicates the kfifo was reset by a preceding flush.

1 / 3
Source: MITRE
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

arm64: tlb: Flush walk cache when unsharing PMD tables

When hugepmdunshare() is called to unshare a PMD table, the tlbunsharepmdptdesc() function sets tlb->unsharedtables=true but the aarch64 tlbflush() only checked tlb->freedtables to determine whether to use TLBFNONE (vae1is, invalidates walk cache) or TLBFNOWALKCACHE (vale1is, leaf-only).

This caused the stale PMD page table entry to remain in the walk cache after unshare, potentially leading to incorrect page table walks.

Fix by including unsharedtables in the check, so that when unsharing tables, TLBFNONE is used and the walk cache is properly invalidated.

Here is the detailed distinction between vae1is and vale1is:

| Instruction Combination | Actual Invalidation Scope | | ------------------------ | --------------------------------------------------| | VAE1IS + TTL=0 | All entries at all levels (full invalidation) | | VAE1IS + TTL=2 (L2) | Non-leaf at Level 0/1 + leaf at Level 2 | | VALE1IS + TTL=0 | Leaf entries at all levels (non-leaf not cleared) | | VALE1IS + TTL=2 (L2) | Leaf entry at Level 2 only |

1 / 3
Source: MITRE
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

iio: imu: adis16550: fix stack leak in trigger handler

adis16550triggerhandler() declares the scan data array on the stack without initializing it. The memcpy() at the bottom fills only the first 28 bytes (TEMP + 6 channels of GYRO/ACCEL data), and iiopushtobufferswithtimestamp() writes the s64 timestamp at the 8-byte-aligned offset 32. Bytes 28-31 remain uninitialized stack data which leaks to userspace on ever trigger.

Fix this all by just zero-initializing the structure on the stack.

1 / 3
Source: MITRE
First published (updated )
Severity
2.1
Input Validation
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Correctly cap ZCREL2 provided by a guest hypervisor

ZCREL2 can be updated by a VHE guest hypervisor either using ZCREL2 (which traps) or ZCREL1 (which does not trap). KVM handles both in different way:

- on ZCREL2 trap, ZCREL2.LEN is immediately capped at the VM's own VL limit. This has the potential to break existing SW that relies on the full LEN field to be stateful.

- on ZCREL1 access, we do absolutely nothing.

On restoring the SVE context for an L2 guest, we directly restore the guest hypervisor's view of ZCREL2 into the physical ZCREL2. If the guest's view of the register was updated using the ZCREL2 accessor, the value has already been sanitised (with the caveat mentioned above).

But if the guest used ZCREL1, the raw value is written into the HW, and the L2 guest can now access VLs that it shouldn't.

Fix all the above by moving the VL capping to the restore points, ensuring that:

- the HW is always programmed with a capped value, irrespective of the accessor being used,

- the ZCREL2.LEN field is always completely stateful, irrespective of the accessor being used.

Additionally, move ZCREL2 to be a sanitised register, ensuring that only the LEN field is actually stateful. This requires some creative construction of the RES0 mask, as the sysreg generation script does not yet generate RAZ/WI fields.

[maz: rewrote commit message, tidy up accesszcrel2()]

1 / 3
Source: MITRE
First published (updated )
Severity
1.8
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

ethtool: module: avoid leaking a netdev ref on module flash errors

moduleflashfwschedule() is missing undo for setting the "inprogress" flag and taking the netdev reference. Delay taking these, the device can't disappear while we are holding rtnllock.

1 / 2
Source: MITRE
First published (updated )
Severity
2.3
AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: ffs: copy only received bytes on short ep0 read

ffsep0read() allocates its control-OUT data buffer with kmalloc() (not kzalloc) at the Length value from the Setup packet, then copies that full len to userspace regardless of how many bytes were actually received:

data = kmalloc(len, GFPKERNEL); ... ret = ffsep0queuewait(ffs, data, len); if ((ret > 0) && (copytouser(buf, data, len))) ret = -EFAULT;

ffsep0queuewait() returns req->actual, which on a short control OUT transfer is strictly less than len. The copytouser() call still copies len bytes, so on a short OUT the last (len - ret) bytes of the kmalloc() buffer -- uninitialised slab residue -- are delivered to the FunctionFS daemon.

Short ep0 OUT completions are specified USB control-transfer behavior and are produced by in-tree UDCs:

dwc2 continues on req->actual < req->length for ep0 DATA OUT (short-not-ok is the only ep0-OUT stall path). aspeedudc ends ep0 OUT on rxlen < ep->ep.maxpacket. renesasusbf logs "ep0 short packet" and completes the request. dwc3 stalls on short IN but not on short OUT.

A short ep0 OUT is therefore not evidence of a broken UDC; it is a normal condition ffs has to cope with. The sibling gadgetfs implementation in drivers/usb/gadget/legacy/inode.c already does this correctly via min(len, dev->req->actual) before copytouser(). This patch brings ffs.c to the same safe pattern rather than trimming at a defensive layer.

The bug is reached from the FunctionFS device node, which in real deployments is owned by the privileged gadget daemon (adbd, UMS, composite gadget services, etc.); it is not reachable from unprivileged userspace. Linux host stacks normally reject short-wLength control OUTs before they reach the gadget, so reproducing this required a build that bypasses that host-side check. With the bypass in place, a 1-byte payload on a 64-byte Setup produces 63 bytes of non-canary slab residue in the daemon's read buffer.

Fix by copying only ret (actually received) bytes to userspace.

1 / 3
Source: MITRE
First published (updated )
Severity
2.4
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

USB: serial: cypressm8: validate interrupt packet headers

cypressreadintcallback() parses the interrupt-in buffer according to the selected Cypress packet format. Format 1 has a two-byte status/count header and format 2 has a one-byte combined status/count header. The usb-serial core sizes the interrupt-in buffer from the endpoint descriptor's wMaxPacketSize, and successful interrupt transfers can complete short when URBSHORTNOTOK is not set.

Check that the completed packet contains the selected header before reading it. Malformed short reports are ignored and the interrupt URB is resubmitted through the existing retry path, preventing out-of-bounds header-byte reads.

KASAN report as below: KASAN slab-out-of-bounds in cypressreadintcallback+0x240/0x7f0 Read of size 1 Call trace: cypressreadintcallback() (drivers/usb/serial/cypressm8.c:1009) usbhcdgivebackurb() dummytimer()

[ johan: use constants in header length sanity checks ]

1 / 3
Source: MITRE
First published (updated )
Severity
2.3
Integer Overflow
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

macsec: fix replay protection at XPN lower-PN wrap

In macsecpostdecrypt(), when pn is U32MAX, pn + 1 overflows u32 to 0 and the first branch never fires. If nextpnhalves.lower is also in the upper half, pnsamehalf(pn, lower) is true and the XPN else-if does not fire either, leaving nextpnhalves unchanged. An attacker that captures the legitimate frame carrying pn == 0xFFFFFFFF on an XPN association can then replay it indefinitely, since lowestpn never rises above the captured pn and macsecdecrypt() reconstructs the same IV.

Extend the XPN else-if to also fire when pn + 1 wraps to 0, so receipt of pn == U32MAX advances nextpnhalves to (upper + 1, 0).

1 / 2
Source: NVD
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: fix chan ref leak in l2capchantimeout() on !conn

setchantimer() takes a l2capchan reference via l2capchanhold() before scheduling the delayed work. The normal path in l2capchantimeout() drops this reference with l2capchanput() at the end, but the early return when chan->conn is NULL skips the put, leaking the reference.

Add the missing l2capchanput() before the early return.

1 / 3
Source: MITRE
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

netfs, afs: Fix write skipping in dir/link writepages

Fix netfswritesingle() and afssinglewritepages() to better handle a write that would be skipped due to lock contention and WBSYNCNONE by returning 1 from netfswritesingle() if it skipped and making afssinglewritepages() skip also. If a skip occurs, the inode must be re-marked as the VFS may have cleared the mark.

This is really only theoretical for directories in netfswritesingle() as the only path to that is through afssinglewritepages() that takes the ->validatelock around it, thereby serialising it.

1 / 2
Source: MITRE
First published (updated )
Severity
2
Race Condition
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Bluetooth: ISO: Fix data-race on isopi fields in hcigetroute calls

1 / 4
Source: Microsoft
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

mm/pagealloc: fix initialization of tags of the huge zero folio with initonfree

GFPZEROTAGS semantics are currently a bit weird, but effectively this flag is only ever set alongside GFPZERO and GFPSKIPKASAN.

If we run with initonfree, we will zero out pages during freepagesprepare(), to skip zeroing on the allocation path.

However, when allocating with GFPZEROTAG set, postallochook() will consequently not only skip clearing page content, but also skip clearing tag memory.

Not clearing tags through GFPZEROTAGS is irrelevant for most pages that will get mapped to user space through setpteat() later: setpteat() and friends will detect that the tags have not been initialized yet (PGmtetagged not set), and initialize them.

However, for the huge zero folio, which will be mapped through a PMD marked as special, this initialization will not be performed, ending up exposing whatever tags were still set for the pages.

The docs (Documentation/arch/arm64/memory-tagging-extension.rst) state that allocation tags are set to 0 when a page is first mapped to user space. That no longer holds with the huge zero folio when initonfree is enabled.

Fix it by decoupling GFPZEROTAGS from GFPZERO, passing to tagclearhighpages() whether we want to also clear page content.

Invert the meaning of the tagclearhighpages() return value to have clearer semantics.

Reproduced with the huge zero folio by modifying the checkbufferfill arm64/mte selftest to use a 2 MiB area, after making sure that pages have a non-0 tag set when freeing (note that, during boot, we will not actually initialize tags, but only set KASANTAGKERNEL in the page flags).

$ ./checkbufferfill 1..20 ... not ok 17 Check initial tags with private mapping, sync error mode and mmap memory not ok 18 Check initial tags with private mapping, sync error mode and mmap/mprotect memory ...

This code needs more cleanups; we'll tackle that next, like decoupling GFPZEROTAGS from GFPSKIPKASAN.

[akpm@linux-foundation.org: s/GPFZERO/GFPZERO/, per David]

1 / 2
Source: MITRE
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: btmtk: fix urb->setuppacket leak in error paths

The setuppacket of control urb is not freed if usbsubmiturb fails or the submitted urb is killed. Add free in these two paths.

1 / 3
Source: NVD
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

sysfs: don't remove existing directory on update failure

When sysfsupdategroup() is called for a named group and createfiles() fails (e.g. -ENOMEM), internalcreategroup() calls kernfsremove(kn) on the group directory. In the update path, kn was obtained via kernfsfindandget() and refers to a directory that already existed before this call. Removing it silently destroys a sysfs group that the caller did not create.

Only remove the directory if we created it ourselves. On update failure the directory remains as it is left empty by removefiles() inside createfiles(), but can be repopulated by a retry.

1 / 3
Source: MITRE
First published (updated )
Severity
2.3
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

crypto/krb5, rxrpc: Fix lack of pre-decrypt/pre-verify length checks

Change the krb5 crypto library to provide facilities to precheck the length of the message about to be decrypted or verified.

Fix AFRXRPC to make use of this to validate DATA packets secured with RxGK.

1 / 2
Source: MITRE
First published (updated )
Severity
2
Race Condition
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

In the Linux kernel, the following vulnerability has been resolved:

mptcp: close TOCTOU race while computing rcvwnd

The MPTCP output path access locklessly the MPTCP-level ackseq in multiple times, using possibly different values for the dataack in the DSS option and to compute the announced rcv wnd for the same packet.

Refactor the cote to avoid inconsistencies which may confuse the peer. Also ensure that the MPTCP level rcv wnd is updated only when the egress packet actually contains a DSS ack.

1 / 2
Source: NVD
First published (updated )
Severity
2.4
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

USB: serial: mctu232: fix missing interrupt-in transfer sanity check

Add the missing sanity check on the size of interrupt-in transfers to avoid parsing stale or uninitialised slab data (and leaking it to user space).

1 / 3
Source: MITRE
First published (updated )
Severity
2.4
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

usb: usbtmc: check URB actuallength for interrupt-IN notifications

USBTMC devices can use an optional interrupt endpoint for notification messages. These typically contain two-byte headers indicating the payload format, but the driver does not check if these headers are present before accessing the data buffers. In cases where the URB actuallength is not enough to fit these headers, the driver will either cause an out-of-bounds read, or consume stale leftover data from a previous notification.

Fix by checking if actualdata contains enough bytes for the headers, otherwise resubmit URB to the interrupt endpoint.

1 / 3
Source: MITRE
First published (updated )
Severity
2.4
Integer Overflow
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

thunderbolt: property: Reject u32 wrap in tbpropertyentryvalid()

entry->value is u32 and entry->length is u16; the sum is performed in u32 and wraps. A malicious XDomain peer can pick value = 0xffffff00, length = 0x100 so the sum 0x100000000 wraps to 0 and passes the > blocklen check. tbpropertyparse() then passes entry->value to parsedwdata() as a dword offset into the property block, reading attacker-directed memory far past the allocation.

For TEXT-typed entries with the "deviceid" or "vendorid" keys this lands in xd->devicename / xd->vendorname and is readable back via the per-XDomain devicename / vendorname sysfs attributes; the leak is NUL-bounded (kstrdup() stops at the first zero byte) and untargeted (the attacker picks a delta, not an absolute address). DATA-typed entries are parsed into property->value.data but not generically surfaced to userspace.

Use checkaddoverflow() so a wrapped sum is rejected.

1 / 2
Source: NVD
First published (updated )
Severity
2
Use After Free
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

mm/hugememory: update file PMD counter before folioput()

splithugepmdlocked() updates the file/shmem RSS counter after dropping the PMD mapping's folio reference. If folioput() drops the last reference, mmcounterfile() can later read freed folio state via foliotestswapbacked().

Move the counter update before folioput().

1 / 2
Source: Red Hat
First published (updated )
Severity
2
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

RDMA/core: Validate the passed in fops for ibgetucaps()

Sashiko pointed out it is not safe to rely only on the devt because char/block alias so if the user finds a block device with the same devt it can masquerade as a ucap cdev fd.

Test the fops to only accept authentic cdevs.

1 / 2
Source: MITRE
First published (updated )
Severity
2
Race Condition
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel, the following vulnerability has been resolved:

signal: clear JOBCTLPENDINGMASK for caller in zapotherthreads()

When a multi-threaded process receives a stop signal (e.g., SIGSTOP), dosignalstop() sets JOBCTLSTOPPENDING and JOBCTLSTOPCONSUME on all threads and sets signal->groupstopcount to the number of threads. If one of the threads concurrently calls execve(), dethread() invokes zapotherthreads() to kill all other threads. zapotherthreads() aborts the pending group stop by resetting signal->groupstopcount to 0 and clears the JOBCTLPENDINGMASK for all other threads. However, it fails to clear the job control flags for the calling thread.

When execve() completes, the calling thread returns to user mode and checks for pending signals. Seeing the stale JOBCTLSTOPPENDING flag, it calls dosignalstop(), which invokes taskparticipategroupstop(). Since JOBCTLSTOPCONSUME is still set, it attempts to decrement the already-zero signal->groupstopcount, triggering a warning:

sig->groupstopcount == 0 WARNING: CPU: 1 PID: 6475 at kernel/signal.c:373 taskparticipategroupstop+0x215/0x2d0 Call Trace: <TASK> dosignalstop+0x3be/0x5c0 kernel/signal.c:2619 getsignal+0xa8c/0x1330 kernel/signal.c:2884 archdosignalorrestart+0xbc/0x840 arch/x86/kernel/signal.c:337 exittousermodeloop+0x8c/0x4d0 kernel/entry/common.c:98 dosyscall64+0x33e/0xf80 arch/x86/entry/syscall64.c:100 entrySYSCALL64afterhwframe+0x77/0x7f </TASK>

Fix this race condition by clearing the JOBCTLPENDINGMASK for the calling thread in zapotherthreads(), ensuring it does not retain any stale job control state after the thread group is destroyed. This aligns with other functions that tear down a thread group and abort group stops, such as zapprocess() and completesignal(), which correctly clear these flags for all threads including the current one.

1 / 4
Source: MITRE
First published (updated )
Severity
2.4
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U

In the Linux kernel, the following vulnerability has been resolved:

thunderbolt: Validate XDomain request packet size before type cast

tbxdphandlerequest() casts the received packet buffer to protocol-specific structs without verifying that the allocation is large enough for the target type. A peer can send a minimal XDomain packet that passes the generic header length check but is shorter than the struct accessed after the cast, causing out-of- bounds reads from the kmemdup allocation.

Plumb the packet length through xdomainrequestwork and validate it against the expected struct size before each cast.

1 / 3
Source: MITRE
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203