Skip to content
pkgseek
Back to CVE search

CVE-2026-138871

critical · 9.1

In the Linux kernel, the following vulnerability has been resolved: nilfs2: validate directory position after llseek in readdir nilfs_readdir() uses ctx->pos, which userspace can set to an arbitrary value via llseek, as an offset into the directory folio and parses whatever bytes sit there as a directory entry. A position pointing into the middle of an entry -- or at unused bytes of a corrupted image that the page validator never inspected -- makes dir_emit() copy up to 255 (name_len) bytes from a bogus entry, possibly reading past the end of the folio and returning unrelated memory content…

First indexed 11/30/2026View on NVD

Advisory Facts

Markdown

CVE-2026-138871 is rated CRITICAL (9.1), with 13 indexed affected package builds across 1 distributions.

Severity / Score
CRITICAL (9.1)
Affected builds
13
Affected distros
1
Distros with fixed_in
Debian
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2026-138871?locale=en

Distribution-aware status

1
Distributions
13
Package/release records
1
Vendor advisories
13
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

13 affected package/release combinations
linux-headers-6.12.107+deb13-amd64
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-headers-6.12.107+deb13-amd64
linux-headers-6.12.107+deb13-cloud-amd64
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-headers-6.12.107+deb13-cloud-amd64
linux-headers-6.12.107+deb13-common
trixieall
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-headers-6.12.107+deb13-common
linux-headers-6.12.107+deb13-common-rt
trixieall
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-headers-6.12.107+deb13-common-rt
linux-headers-6.12.107+deb13-rt-amd64
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-headers-6.12.107+deb13-rt-amd64
linux-image-6.12.107+deb13-amd64-dbg
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-image-6.12.107+deb13-amd64-dbg
linux-image-6.12.107+deb13-amd64-unsigned
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-image-6.12.107+deb13-amd64-unsigned
linux-image-6.12.107+deb13-cloud-amd64-dbg
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-image-6.12.107+deb13-cloud-amd64-dbg
linux-image-6.12.107+deb13-cloud-amd64-unsigned
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-image-6.12.107+deb13-cloud-amd64-unsigned
linux-image-6.12.107+deb13-rt-amd64-dbg
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-image-6.12.107+deb13-rt-amd64-dbg
linux-image-6.12.107+deb13-rt-amd64-unsigned
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-image-6.12.107+deb13-rt-amd64-unsigned
linux-kbuild-6.12.107+deb13
trixieamd64
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-kbuild-6.12.107+deb13
linux-support-6.12.107+deb13
trixieall
6.12.107-1Fixed in 6.12.117-1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade linux-support-6.12.107+deb13