Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-138992

published

nilfs2: fix checkpoint root lifetime on sysfs errors

Published
30 Nov 2026, 13:26:52 UTC
Updated
30 Nov 2026, 13:26:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxdd70edbde2627f47df118d899de6bbb55abcfdbf to < 71ff72d00ce86e0e37849bfd5ac8d0ad996094a9 · dd70edbde2627f47df118d899de6bbb55abcfdbf to < 10c8dfa785367e99e95dfa7c0a9af91773d55b81 · dd70edbde2627f47df118d899de6bbb55abcfdbf to < 8dc66d82745384ec4df596aa5a79eccda54b7d83 · dd70edbde2627f47df118d899de6bbb55abcfdbf to < e9fdf32ad8e44bc40c1ce8cb019e4b9543a82437 · dd70edbde2627f47df118d899de6bbb55abcfdbf to < b211997e8e76404cd1eeb224afb0e13867642b84 · dd70edbde2627f47df118d899de6bbb55abcfdbf to < 435a2d476c0f1a78eb3eb18af8a86346c3c62ac4 · dd70edbde2627f47df118d899de6bbb55abcfdbf to < ae118e79c6a2b0a29ed6e26516aa2050b61c1492 · dd70edbde2627f47df118d899de6bbb55abcfdbf to < 2cb947450e0e5a88bb6bb5fca6dbfda1910e74b0 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.17 (affected) · 0 to < 3.17 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix checkpoint root lifetime on sysfs errors nilfs_find_or_create_root() links a new checkpoint root into the checkpoint tree and drops ns_cptree_lock before creating the root's sysfs group. If nilfs_sysfs_create_snapshot_group() then fails, the root is freed while it is still reachable from ns_cptree, so a concurrent nilfs_lookup_root() can dereference freed memory. nilfs_sysfs_create_snapshot_group() allocates memory and creates sysfs nodes and may sleep, so it cannot run under the ns_cptree_lock spinlock. Reorder the creation path so that the sysfs group is set up before the root is published: initialize the root, create its sysfs group outside the lock, and only then take ns_cptree_lock to link it into the tree. On sysfs failure the root was never visible and is freed directly; in the unlikely case a root with the same checkpoint number is already present, the sysfs group of the new root is removed before it is freed. Concurrent insertions are already serialized by ns_snapshot_mount_mutex, so only the race against nilfs_lookup_root() needs to be closed. Because kobject_put() does not guarantee that the embedded kobject's release callback has run by the time it returns (CONFIG_DEBUG_KOBJECT_RELEASE defers it), the container must not be freed until the release completes. Keep that wait_for_completion() of snapshot_kobj_unregister inside the sysfs helpers, so both the creation error path and nilfs_sysfs_delete_snapshot_group() wait for the release before their callers free the root.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux dd70edbde2627f47df118d899de6bbb55abcfdbf to < 71ff72d00ce86e0e37849bfd5ac8d0ad996094a9 (affected · git)dd70edbde2627f47df118d899de6bbb55abcfdbf to < 10c8dfa785367e99e95dfa7c0a9af91773d55b81 (affected · git)dd70edbde2627f47df118d899de6bbb55abcfdbf to < 8dc66d82745384ec4df596aa5a79eccda54b7d83 (affected · git)dd70edbde2627f47df118d899de6bbb55abcfdbf to < e9fdf32ad8e44bc40c1ce8cb019e4b9543a82437 (affected · git)dd70edbde2627f47df118d899de6bbb55abcfdbf to < b211997e8e76404cd1eeb224afb0e13867642b84 (affected · git)dd70edbde2627f47df118d899de6bbb55abcfdbf to < 435a2d476c0f1a78eb3eb18af8a86346c3c62ac4 (affected · git)dd70edbde2627f47df118d899de6bbb55abcfdbf to < ae118e79c6a2b0a29ed6e26516aa2050b61c1492 (affected · git)dd70edbde2627f47df118d899de6bbb55abcfdbf to < 2cb947450e0e5a88bb6bb5fca6dbfda1910e74b0 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.17 (affected)0 to < 3.17 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

nilfs2: fix checkpoint root lifetime on sysfs errors

Provenance

Schema
5.2
Searchable
yes
Content hash
07e6eeefa8cf9aab8cc3ba7c572be30864f97802d90d1a56efe5ba306a1b2585
Ingested
30 Nov 2026, 13:36:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected