Where
AND
-Infinity
0

Vendor Risk Score

See how microsoft compares to other vendors in security performance

View Risk Score →

Software

Severity
7.5
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Improper certificate validation in Microsoft Office PowerPoint allows an unauthorized attacker to execute code over a network.

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

Bluetooth: L2CAP: Only accept connection responses to outstanding requests

1 / 3
Source: Microsoft
First published (updated )
Severity
8.3
EPSS
0.31%
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Bluetooth: L2CAP: Reject signalling responses in invalid states

1 / 3
Source: Microsoft
First published (updated )
Severity
7.8
EPSS
0.19%
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

9p/transvirtio: reject mount tags longer than NAMEMAX at probe

1 / 3
Source: Microsoft
First published (updated )
Severity
7.8
EPSS
0.15%
Use After Free
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

drm/drmcrtc: ensure dmafenceops remain valid during device unbind

1 / 3
Source: Microsoft
First published (updated )
Severity
7.8
EPSS
0.16%
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

batman-adv: stop originator purge worker before freeing TT

1 / 3
Source: Microsoft
First published (updated )
Severity
7.6
EPSS
0.32%
AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

batman-adv: tt: ignore ROAM flag of received ADD changes

1 / 3
Source: Microsoft
First published (updated )
Severity
7.5
EPSS
0.62%
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:

sctp: account for chunk padding in sctpinitcause()

sctpinitcause() accepts a chunk when skbtailroom() can hold the cause header and the payload. sctpaddtochunk() then writes 0-3 bytes of padding before that header so the chunk stays 4-byte aligned. The check does not include the padding, and the following skbput() calls skboverpanic() from softirq.

Count the padding sctpaddtochunk() is about to write. The cause length on the wire stays the header plus the payload.

Found by LLM inspection, triggered and tested the fix.

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

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

scsi: target: Verify the iSCSI ISID is null-terminated

iscsiparseprouttransportid() returns the ISID of a FORMAT CODE 01b TransportID as a pointer into the PERSISTENT RESERVE OUT parameter list, lowercased in place and never null-terminated. spc4r37 Table 508 requires the field to be null-terminated, but a non-conforming initiator can omit the NULL; when the ISID ends at the end of the received buffer, the pointer is not a C string.

The registration code still consumes it as one: strcmp() in corescsi3locateprreg() and in the REGISTER AND MOVE path, and snprintf("%s") in corescsi3doallocregistration(), which also reads its first 8 bytes unconditionally with getunalignedbe64() - a NUL check does not bound that read.

When the parameter list spans more than one page, transportkmapdatasg() maps it with vmap(), and the over-read walks off the end of the mapping into the vmalloc() guard page and oopses. Reproduced with a PR OUT REGISTER + SPECIPT parameter list of exactly 8192 bytes whose final TransportID carries a 12-byte ISID without a terminating NUL:

BUG: unable to handle page fault for address: ffffc9000138c000 RIP: 0010:strcmp+0xc/0x30 Call Trace: corescsi3locateprreg+0xd3/0x120 [targetcoremod] corescsi3decodespeciport+0x8fc/0x13a0 [targetcoremod] corescsi3emulateproregister+0x73c/0x900 [targetcoremod] ... iscsitargetrxthread+0xef/0x1d0 [iscsitargetmod]

With a single-page parameter list the buffer is a kmap() direct mapping, so the over-read continues into the physically adjacent page instead of faulting. snprintf("%s") then copies whatever follows the ISID in memory into prregisid, and PR IN READ FULL STATUS reports the registration back to any initiator, turning the over-read into an info leak of kernel heap contents. Reproduced with a 4096-byte parameter list whose last TransportID ends at the end of the buffer with a 4-byte ISID and no NUL, interleaved with I/O to populate adjacent pages: the READ FULL STATUS response returned the ISID as "0xleak" followed by raw bytes that were not part of the parameter list. The snprintf() into prregisid[PRREGISIDLEN] caps the echoed ISID at 15 characters, so at most 11 bytes past the buffer are leaked per command, but the PR OUT command is not rate limited.

Any initiator that can send PR OUT to an iSCSI-exported LUN can trigger either variant, including a guest via vhost-scsi.

Require 8 bytes to remain after the ",i,0x" separator, and a NUL inside the rest of the descriptor, before the ISID pointer is returned. REGISTER AND MOVE fails with TCMINVALIDPARAMETERLIST; on SPECIPT no target port claims the malformed TransportID, and the command fails the same way.

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.19%
Double Free
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

drm/loongson: Fix double free on BO initialization failure

1 / 3
Source: Microsoft
First published (updated )
Severity
7.1
EPSS
0.32%
AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

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

net: atl1c: drop oversized RX frames instead of panicking

atl1c sizes its receive buffers from the netdev MTU plus a fixed set of L2 overheads, which comes to 1522 bytes at the default MTU. A link partner that sends a longer frame - in practice a MikroTik CCR2004-1G-2XS-PCIe, whose RouterOS side defaults to l2mtu 1600 while the host stays at MTU 1500 - makes the length reported by the RX return descriptor exceed what the hardware wrote, and skbput() then either includes bytes that were never received or trips skboverpanic and takes the host down.

Compare the descriptor length against bufferinfo->length, the length the hardware was given, rather than against skbtailroom(): the skb carries 64 bytes of slack for the DMA erratum, so tailroom is larger than the DMA buffer and a frame in between would pass the check and still be delivered with a tail the device never wrote. The same test rejects frames shorter than ETHHLEN + ETHFCSLEN; before this change a reported length below ETHFCSLEN underflowed in skbput().

The frame is dropped with kfreeskbreason(SKBDROPREASONPKTTOOBIG) so dropmonitor and the kfreeskb tracepoint see it, and counted through devcorestatsrxdroppedinc(), which survives atl1cgetstats() overwriting the hardware counters on every read. It also counts as work: atl1ccleanrfd() has already recycled the RFD, and the refill at the end of the poll only runs when workdone is non-zero, so sustained oversized traffic would otherwise drain the ring and stop RX.

Tested on a MikroTik CCR2004-1G-2XS-PCIe (4x AR8151) in a Proxmox VE host, with atl1c built from a DKMS tree carrying this change: the l2mtu-1600 traffic that panics the stock driver is dropped and counted with the patch applied, and received normally once the host MTU is raised to match.

This complements commit 36c2009d90f2 ("net: atl1c: fix soft lockup on out-of-range tpdcons read"), which fixed the TX side of the same "host dies while the card resets" problem.

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
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/mglru: don't use stack pointers when walking PUD and PMD tables

MGLRU passes stack copies of page-table entries in walkpudrange() and walkpmdrange() when walking to the next level. These copies can become stale when khugepaged or MADVDONTNEED (CONFIGPTRECLAIM) removes a PTE table concurrently.

This pattern dates back to commit bd74fdaea146 ("mm: multi-gen LRU: support page table walks"). Likely, earlier locking masked the latent bug. Later changes exposed it: commit 1d65b771bc08 ("mm/khugepaged: retractpagetables() without mmap or vma lock") allowed concurrent retraction, and commit cf4a65539c13 ("memcg-v1: no need for memcg locking for MGLRU") dropped the walker's outer RCU protection.

The fix is simple, so just fix the original commit so we don't have to speculate. To fix it, pass the actual PMD/PUD pointers. This restores the RCU-protected lookup and validation against the live PMD. Note that the PUD handling is required as well to handle folded page tables correctly in all cases.

Fix generated by an LLM and sent by Josef Bacik in private.

[ david: handle walkpudrange() as well, clarify+simplify description, adjust Fixes: ]

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
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/filemap: finish fault cleanup before dropping the fault lock

On a retried fault, a fatal signal interrupting the folio lock wait makes lockfoliomaybedropmmap() drop the fault lock without pinning the file. However, filemapfault() may still need to release mapping->invalidatelock. A concurrent munmap() can release the last file reference and free the mapping before that unlock.

Defer dropping the fault lock to filemapfault()'s retry cleanup, after releasing invalidatelock. If the fault lock was already dropped for I/O, release the existing file reference instead. Keep the fault lock held for FAULTFLAGRETRYNOWAIT as before.

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

cipso: fix optlen corruption in cipsov4delopt()

1 / 3
Source: Microsoft
First published (updated )
Severity
7.8
EPSS
0.13%
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/khugepaged: flush deferred unmaps before dropping a failed folio

collapsefile() can fail its reference-count or dirty-folio check after unmapping with TTUBATCHFLUSH. Both paths put back the isolated folio, then unlock it and drop the lookup reference before reaching the common trytounmapflush().

The page-cache reference does not keep the folio stable once the lock is released. Another collapse can replace and free it. With its PTEs already gone, that collapse cannot flush the first task's per-task TLB batch, and retractpagetables() skips short or unaligned VMAs. A CPU can therefore retain a user translation to the freed folio. This has been reproduced with unprivileged MADVCOLLAPSE on a memfd.

Flush at outunlock while the lookup reference and folio lock are still held. The common flush continues to cover the accumulated pagelist on both success and rollback, preserving batching on successful collapses.

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
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: memcontrol: fix NULL pointer deref and UAF from highworkfunc() on dying memcg

When memory.high is exceeded in non-task context, trychargememcg() schedules memcg->highwork without taking a reference on the memcg, and highworkfunc() invokes reclaimhigh() without pinning the memcg.

With objcgroup reparenting, introduced in commit bf4f059954dc ("mm: memcg/slab: objcgroup API"), objects charged to a child memcg are reparented to its parent in memcgroupcssoffline() instead of holding a reference on the child until uncharged. Subsequent uncharges of those objects go to the parent, which can leave the child's memory use permanently above its high limit, so any later charge on the offlined memcg in non-task context schedules highwork. This was later widened from kernel memory to LRU folios when commit f1cf8d2f36dc ("mm: memcontrol: eliminate the problem of dying memory cgroup for LRU folios") converted LRU folios to use objcgroup reparenting.

cancelworksync(&memcg->highwork) only runs at the end of teardown in memcgroupcssfree(), so highworkfunc() can start or still be running reclaimhigh() after memcgroupcssreleased() or shrinkmany() has called lrugenreleasememcg() and unhashed lruvec->lrugen.list. If reclaim tries to rotate the memcg, lrugenrotatememcg() dereferences a NULL pprev pointer. This issue is specific to MGLRU and was introduced with the memcg LRU in commit e4dde56cd208 ("mm: multi-gen LRU: per-node lrugenfolio lists").

With either traditional LRU or MGLRU, cssfreerworkfn() calls cssrstatexit() which frees per-CPU rstat data before calling memcgroupcssfree(). If reclaimhigh() is still running, rstat updates via modlruvecstate() -> cssrstatupdated() cause a use-after-free on the per-CPU rstat data. This was introduced when commit 5da3bfa029d6 ("cgroup: use separate rstat trees for each subsystem") moved cssrstatexit() ahead of ss->cssfree().

Fix both problems by acquiring a reference with csstrygetonline() in highworkfunc() before calling reclaimhigh(), and by resetting memory.high and swap.high to PAGECOUNTERMAX in memcgroupcssoffline() so that charges via references on an offlined memcg do not trigger highwork on the dead child and skip checking live ancestors in trychargememcg().

Acquiring the reference in highworkfunc() rather than before scheduling highwork is safe because memcgroupcssfree() calls irqworksync() and cancelworksync() which cancels pending work and waits for an already running highworkfunc() to complete before memcgroupfree() frees the memcg. csstrygetonline() uses percpureftrygetlive() and is safe to call after percpurefexit() before the cgroup is freed unlike csstryget().

Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 27 Comm: kworker/1:0 Tainted: G B W 7.3.0-rc5-g2bba28e98578 #284 PREEMPT(full) Tainted: [B]=BADPAGE, [W]=WARN <-- Taint from lrugenrotatememcg() VMWARNONONCE Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014 Workqueue: events highworkfunc RIP: 0010:lrugenrotatememcg+0x1a3/0xe90 Call Trace: <TASK> ? readctrlpos+0x22f/0x3f0 shrinklruvec+0x16cb/0x1b80 ? retfromforkasm+0x1a/0x30 ? lapicnextevent+0x15/0x20 ? clockeventsprogramevent+0x2bb/0x6f0 ? lapicnextevent+0x15/0x20 ? pfxshrinklruvec+0x10/0x10 ? pfxclockeventsprogramevent+0x10/0x10 ? rawspinlock+0x84/0xe0 ? pfxrawspinlock+0x10/0x10 ? kasansavestack+0x30/0x50 ? psigroupchange+0x381/0x740 ? pfxschedclockcpu+0x10/0x10 ? savefpregstofpstate+0xc4/0x2c0 ? finishtaskswitch.isra.0+0x1de/0xac0 ? schedule+0xf62/0x42c0 ? pfxschedule+0x10/0x10 ? pfxirqworkqueuelo ---truncated---

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
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:

ocfs2: cache the mount context for dentry lock callbacks

ocfs2dropdentrylock() drops the inode reference before releasing the DENTRY lock. This lets inode eviction release the local inode and open locks before a remote unlink can proceed past the DENTRY lock.

A DLM callback can still arrive before the DENTRY lock has been dropped. ocfs2getdentryosb() obtains the mount context through dlinode->isb, which can access a freed inode when the downconvert thread drops the last inode reference in its post-unlock callback:

Downconvert thread DLM callback thread ------------------ ------------------- ocfs2processblockedlock() ocfs2dentrypostunlock() ocfs2dentrylockput() ocfs2dropdentrylock() iput(dl->dlinode) [inode reclaimed after RCU] ocfs2blockingast() ocfs2getdentryosb() dl->dlinode->isb ocfs2simpledroplockres()

Store the mount context in the DENTRY lock resource's lpriv field and use the default mount-context lookup. Recover the containing dentry lock with containerof(), as already done for refcount locks, and remove ocfs2getdentryosb(). ocfs2dismountvolume() shuts down the DLM before freeing the mount context, so callbacks can use it without accessing the inode. Preserve the existing iput-before-unlock order to avoid delaying local inode and open lock release until after the DENTRY lock is released.

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
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:

net/sched: schqfq: prevent aggregate self-replacement

qfqchangeclass() snapshots the current aggregate settings while holding the qdisc tree lock, but drops the lock before selecting the destination aggregate. During that gap, qfqenqueue() can move the class to an aggregate matching the requested settings.

When qfqchangeclass() resumes, qfqfindagg() then returns cl->agg. If it is a singleton, qfqdeactrmfromagg() frees the aggregate before qfqaddtoagg() immediately accesses the same pointer, causing a use-after-free.

While holding the tree lock, skip the replacement when the destination is already the current aggregate. Any estimator replacement has already completed, so the class change can finish normally.

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

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

iommu/virtio: Reset device before deleting virtqueues on probe failure

viommuprobe() marks the device DRIVEROK before populating the event virtqueue and registering the IOMMU device in sysfs. viommufillevtq() hands the device a set of device-writable buffers through virtqueueaddinbuf(), so from that point on the device may write into them and into the rings.

If either step fails, the error path deletes the virtqueues without resetting the device first. The event buffers are allocated with devmkmallocarray() and are released as probe unwinds, so the device can go on writing to memory that has been freed.

Reset the device before deleting the virtqueues, the way viommuremove() already does.

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.15%
AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

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

vhost: fix used ring index wrap in vhostaddusedninorder

vhostaddusedninorder() advances start by nheads[i] but wraps it with a single subtraction. If start + nheads[i] >= 2 vq->num, start can remain outside the ring.

With used-ring logging enabled, start > vq->num makes (vq->num - start) underflow. logwrite() then sets bits beyond the dirty-log bitmap, potentially corrupting adjacent userspace memory. This is reachable on the vhost-net TX path with VIRTIOFINORDER: doneidx can reach VHOSTNETBATCH (64), triggering the issue with a 32-entry ring.

Wrap start with a mask to keep it within the ring. VHOSTSETVRINGNUM enforces a nonzero power-of-two ring size, allowing start to be wrapped using & (vq->num - 1).

1 / 3
Source: MITRE
First published (updated )
Severity
7.5
EPSS
0.61%
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:

xfs: cap the block count of xfsiomapwritedirect() at one extent

xfsiomapwritedirect() reserves blocks for the whole count in an unsigned int. For a pNFS layout the client chooses that count, and an RW LAYOUTGET for 16 TiB wraps the reservation and shuts XFS down.

xfsbmapiwrite() maps at most XFSMAXBMBTEXTLEN blocks here, so cap the count at that. nfsd asks again for the rest. The other callers get the same mapping as before.

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
Use After Free
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

can: protect the receive lists with a per-device lock

1 / 3
Source: Microsoft
First published (updated )
Severity
7
EPSS
0.15%
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

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

mm/khugepaged: always recheck the pmd in trycollapseptemappedthp()

trycollapseptemappedthp() drops the PTE lock after it has cleared the page table, and takes the PMD lock and the PTE lock to remove it.

In between, MADVDONTNEED with CONFIGPTRECLAIM can reclaim the page table. The pmdsame() check is supposed to handle this, but it is only done with CONFIGSPLITPTEPTLOCKS.

Fix it by performing the check unconditionally.

Fix generated by an LLM and sent by Josef Bacik in private.

[ david: adjust description ]

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.13%
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/gup: fix out-of-bounds write for nrpages == 0 in GUP-fast

With nrpages == 0, GUP-fast still enters its page table walk and can write past the caller's page array. The old end <= start check caught empty ranges, but was replaced with an overflow check.

Users such as OrangeFS can pass a zero page count derived from a userspace-supplied length. So let's return zero for nrpages == 0 before starting the walk, just like GUP-slow.

Fix generated by an LLM and sent by Chris Mason in private.

[ david: simplify description ]

1 / 3
Source: MITRE
First published (updated )
Severity
7
EPSS
0.18%

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

mm/gup: check for overflow when converting nrpages to bytes in GUP-fast

The overflow check in gupfastfallback() only covers the addition to start. The preceding nrpages << PAGESHIFT can already have truncated the length on 32bit.

Users such as RapidIO's riodmatransfer() can derive such page counts from a 64-bit userspace length.

Let's just checkshloverflow() to reject any such overflow with -EOVERFLOW early.

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

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

mm/mmugather: fix flushing ranges with 4 GiB or larger

tlbadjustrange() takes the size of the range which has to be flushed as an unsigned int. Its callers, tlbflush{pte,pmd,pud,p4d}range(), get and pass an unsigned long. Consequently, a range that is 4 GiB or larger gets truncated, possibly to 0.

On arm64 with hugetlb, a 64k kernel can have 16 GiB hugetlb folios mapped contiguously at the PMD level and flush them when unmapping, and a 16k kernel can flush 64 GiB PUDs through tlbunsharepmdptdesc(). So at least these two scenarios are affected.

Fix it by flushing the proper range instead of the truncated one by properly using "unsigned long" for rangesize.

Fix generated by an LLM and sent by Josef Bacik in private.

[ david: use two-tab indent, simplify description ]

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
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/mmunotifier: set ->mm only after mmgrab()

Radeon uses a non-NULL notifier->mm to decide whether to call mmuintervalnotifierremove() when freeing a buffer object. mmuintervalnotifierinsert() sets ->mm before validating the range, so a wrapping userptr range can leave ->mm set after insertion fails. Cleanup then tries to remove an unregistered notifier for which no mm reference was acquired.

Set ->mm only after mmgrab(), once insertion can no longer fail. While we could fix radeon's code instead, setting ->mm on success only makes the code more robust.

Fix generated by an LLM and sent by Chris Mason in private.

[ david: simplify description ]

1 / 3
Source: MITRE
First published (updated )
Severity
7.8
EPSS
0.16%
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: fix unmapmappingrange() beyond 4 GiB on 32-bit

Commit 9eab0421fa94 ("mm: fix unmapmappingrange high bits shift bug") made holebegin and holelen unsigned before they are shifted, by casting them to pgofft. That is an unsigned long: on a 32-bit kernel the cast cuts off the upper half of the two lofft values, so a hole which begins at 4 GiB or beyond is taken for one in the first 4 GiB of the file.

truncatepagecache() passes the new size of the file and asks for private COWed pages to be unmapped as well. If a file of 6 GiB is truncated to 5 GiB, everything from 1 GiB on is unmapped, and what a process has written to a private mapping of the range between 1 GiB and 5 GiB is lost: it reads the contents of the file again.

Where the range has an end, the wrong range is unmapped instead of the right one. The page cache copes with that, as it unmaps every folio that it removes. The callers which only have unmapmappingrange() to get rid of user mappings do not, for example drmvmanodeunmap(), whose fake offsets reach beyond 4 GiB on 32-bit, and revokeiomem() with physical addresses of more than 32 bits.

Cast to u64 instead. Nothing changes for 64-bit kernels.

Fix generated by an LLM and sent by Josef Bacik in private.

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

drm/amdgpu/gfx12: disallow GFXOFF while updating the SPM VMID

1 / 3
Source: Microsoft
First published (updated )
Severity
7
EPSS
0.15%
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

drm/amdgpu: Fix duplicate dependency fence releases

1 / 3
Source: Microsoft
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