public inbox for [email protected]
 help / color / mirror / Atom feed
This is experimental automated Linux kernel CVE triage research. Results are heuristic and may be incorrect. This site is not an official vendor advisory or severity source.
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [CVE-2026-99416][MODERATE REGULAR] ovl: read the nlink xattr of every indexed non-dir
@ 2026-11-21 21:43 21% AL-KERNEL
  0 siblings, 0 replies; 1+ results
From: AL-KERNEL @ 2026-11-21 21:43 UTC (permalink / raw)
  To: kernel-cve

CVE: CVE-2026-99416
Priority: MODERATE REGULAR
AL-KERNEL base severity: MODERATE
KPANIC flag: NO
Patch: ovl: read the nlink xattr of every indexed non-dir
Commit: 07b000b5b458723ca85d67dbbe5f6359c0202cfc
Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=07b000b5b458723ca85d67dbbe5f6359c0202cfc
Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99416
Analysis date: Sat, 21 Nov 2026 17:43:48 -0400
ActionableScore: 3
ActionableScore lower bound: unknown
Actionable bucket: Borderline / manual review recommended
Manual review required: YES

Summary:
OverlayFS can misread indexed nlink state and, after remount, delete the sole upper copy of handle-written data or retain stale file-handle access.

======================================================================
ABOUT THIS REPORT
======================================================================

The original Linux kernel CVE announcement for CVE-2026-99416 is available here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99416

The original announcement does not normally provide a security severity
estimate, CVSS assessment, or enough information to determine whether the
reported kernel bug represents a practically relevant security issue.

This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin. It combines
an autonomous classifier with LLM-assisted technical analysis and a
separate ActionableScore mechanism.

The purpose of this report is to prioritize Linux kernel CVEs before
manual review, identify cases that require prompt investigation, and
support automatic closure of issues that are unlikely to have meaningful
security impact.

Published priority for this report: MODERATE REGULAR
Manual review required: YES

A detailed explanation of the methodology and priority rules is included
at the end of this message.

======================================================================
AL-KERNEL CLASSIFICATION RESULT
======================================================================

CVE-2026-99416	MODERATE	https://www.kernelcve.org/list/?q=CVE-2026-99416 CHECK WITH IMPACT FROM ORIG NN LOW | AEGIS IMPACT MODERATE_KPANIC AEGIS_AS=2 LEGACY=MODERATE RESULT=DIFF (final Legacy and Aegis differ; FINAL: MODERATE, Aegis: MODERATE_KPANIC)	Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H';CWE-682;CWE-703;Other CVSS 'AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L';BEST CVSS score: '6.7';DESCR 'OverlayFS can misread the stored link count of an indexed lower file with one link when NFS export support is enabled. A write through a file handle to an uncached lower file can leave the index entry as the only upper copy, after which a remount may misclassify it as an orphan, replace it with a whiteout, lose the written data, and make lookup by name return EIO. Incorrect link accounting can also keep a removed file reachable through an existing file handle. For the CVSS the PR:L value reflects that exploitation requires an authorized NFS client or a local process with CAP_DAC_READ_SEARCH rather than unauthenticated network access. AC:H reflects the required combination of handle based access, an uncached single link lower file, indexed copy up, and a later remount. The demonstrated primitive is a filesystem metadata logic error with persistent data integrity and availability consequences, not memory corruption or privilege escalation. Automated impact decision path. The original SimpleNet classifier selected LOW. The primary LLM estimated paranoid CVSS 6.7 and the production ActionableScore returned 3 with recommendation Borderline / manual review recommended. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were CVSS and initial triage stage LOW to MODERATE_KPANIC because the manual review requirement was applied. ActionableScore thresholds stage MODERATE_KPANIC to MODERATE because the ActionableScore threshold rule was applied. The legacy KP specialist has no review artifact for this run. The legacy FD or DH downgrade specialist has no review artifact for this run. Exact triggered rule markers were INCREASED_FROM_LOW_BASED_ON_REQUIREMANUALCHECK and DECREASED_TO_MODERATEREG_BASED_ON_ACTIONABLESCORELESSTHAN4 and V41_INHERITED_KPANIC_PROMOTION_BLOCKED and MANUAL_REVIEW_REQUIRED. The independent weaker Aegis shadow evaluated CVSS 4.3 and ActionableScore 2 with primitive class CLASS_C and manual review REQUIRED. Its independently reconciled impact was MODERATE_KPANIC. The models disagreed but the aggregation rules retained the production result. The final reported impact is MODERATE.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Borderline / manual review recommended (with actual score 3)	MAYBE	DISK LEAK LINUS  INCREASED_FROM_LOW_BASED_ON_REQUIREMANUALCHECK DECREASED_TO_MODERATEREG_BASED_ON_ACTIONABLESCORELESSTHAN4 V41_INHERITED_KPANIC_PROMOTION_BLOCKED MANUAL_REVIEW_REQUIRED	-	-	checked

======================================================================
ACTIONABLESCORE ANALYSIS
======================================================================

ActionableScore=3
PrimitiveClass=CLASS_B
RealUAF=NO
HostAdminRequired=NO
NamespaceScopedPrivilege=UNKNOWN
ImportantCandidate=NO
ManualReview=REQUIRED
AutoDowngradeAllowed=YES
RequiresHostUID0=NO
AuthorizationDecisionBypass=NO
ProtectedResourceImpact=NONE
B4PendingReview=NO
B4PendingConfirmed=NO

1. ActionableScore

* Raw base score: 3.
* Conservative score: 3; no floor or cap applied.
* Raw paranoid score: 3.
* Paranoid score: 3; stronger memory-corruption or cross-authority effects are unsupported.
* Final recommended bucket: **Borderline / manual review recommended**::

2. Signal breakdown

* +1 Integrity: remount cleanup demonstrably replaces a valid index entry with a whiteout and loses written file data.
* +1 Availability: the surviving lower name subsequently returns `-EIO`; this is distinct loss of file accessibility, not a kernel crash.
* +1 Important filesystem path: OverlayFS index, link-count, copy-up, and persistent mount-state handling are affected.
* +1 Practical consequence chain: handle-based copy-up → incorrect fallback nlink → remount orphan classification → whiteout/data loss is reproduced.
* -1 Reduced privilege: the grounded trigger requires an authorized NFS client or `CAP_DAC_READ_SEARCH`, rather than an ordinary unprivileged local process.
* No rarity penalty: `nfs_export=on` and remount are prerequisites, but the evidence does not establish a genuinely rare, inaccessible deployment.
* No memory-corruption, UAF, authorization-bypass, cross-file ownership breach, protected-victim corruption, kernel crash, or privilege escalation is shown.
* NEW52/B5-R and NEW53/B3-PENDING do not apply: there is neither a heap OOB write nor a shared-backing write primitive.

3. Reachability analysis

The demonstrated operation is writing through an OverlayFS file handle to an uncached, single-link lower file with NFS export indexing enabled. Reachability is grounded for an authorized NFS client or a local process holding `CAP_DAC_READ_SEARCH`; neither requires host UID 0 or full host-administrator powers. The evidence does not establish that the complete operation works with an attacker-obtainable user-namespace capability, so namespace scope remains unknown. Host configuration must enable `nfs_export=on`, and a later remount realizes the persistent failure. No timing race or special hardware is involved.

4. Primitive and severity reading

The primitive is a persistent filesystem semantic/accounting error: `ovl_get_nlink()` incorrectly returns a fallback instead of reading the indexed inode’s nlink xattr. Kernel consumers then delete live indexed state or retain stale index state. This is CLASS_B persistent structured filesystem-state corruption, not kernel-memory corruption. Proven effects are data loss, `-EIO`, incorrect `st_nlink`, and continued handle access to a removed file. Cross-user corruption, permission bypass, and LPE remain unproven. ImportantCandidate is NO because the supplied proof does not identify a protected victim or ownership-boundary breach. Auto-downgrade remains allowed, although manual review is required due to demonstrated persistent data loss.

5. One-sentence report phrase

OverlayFS can misread indexed nlink state and, after remount, delete the sole upper copy of handle-written data or retain stale file-handle access.

6. Manual review advice

MANUAL CHECK REQUIRED

Confirm affected deployment use of `nfs_export=on`, handle-based access, and whether lost or retained files can belong to a different authority than the triggering client.

7. Call-site confidence

Call-site confidence: high

======================================================================
UPSTREAM PATCH SUMMARY
======================================================================

Patch: ovl: read the nlink xattr of every indexed non-dir
Commit: 07b000b5b458723ca85d67dbbe5f6359c0202cfc
Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=07b000b5b458723ca85d67dbbe5f6359c0202cfc

Commit description:

With nfs_export=on, data written through a file handle to a lower file,
i.e. a file that exists only in a lower layer of the overlay, can be
lost on the next mount. A lookup of the file by name then returns -EIO.
Also, a file with one name reports st_nlink 2 once it has been copied to
the upper layer. After such a file is removed, its file handle can still
open it until the next mount.

Before a lower file is changed for the first time, overlayfs copies it
to the writable upper layer. This is called copy up.

The index directory is $workdir/index, where $workdir is the directory
given by the workdir= option. Each entry is named after the file handle
of a lower inode, so that overlayfs can get from the handle to the
copied up inode.

With nfs_export=on, copy up indexes every non-directory: it copies the
file to an entry in the index directory and then hard links that entry
into the upper directory. The index entry is an extra link to the upper
inode, so overlayfs stores the link count that users should see in the
overlay.nlink xattr.

A file can also be opened by handle, either by an NFS client or by a
process with CAP_DAC_READ_SEARCH calling open_by_handle_at(). If the
file is not in the dcache, its overlay dentry is disconnected, i.e. it
has no parent yet. Copy up then creates the index entry but no hard link
in the upper directory. The index entry has i_nlink 1 and holds the only
copy of the data written to the file.

ovl_get_nlink() reads the stored count. Its caller passes a default,
which the function returns if there is no stored count. If the lower
inode has i_nlink 1, the function returns the default without reading
the xattr. That was correct as long as only lower files with multiple
links were indexed.

On the next mount, ovl_verify_index() looks for orphans, i.e. index
entries of files whose last name was removed. For an index entry with
i_nlink 1, it passes a default of 0 to ovl_get_nlink() and treats a
result of 0 as an orphan. Here the lower inode also has i_nlink 1, so
the result is the default. ovl_indexdir_cleanup() then replaces the
entry with a whiteout, which in the index marks a file as deleted. The
written data is lost.

A lookup by name then returns -EIO, because a whiteout as the index
entry of a lower file that still exists is a bad index.

ovl_get_inode() gets the wrong count the same way. Its default is the
i_nlink of the upper inode, which includes the index entry, so a copied
up file with one name reports st_nlink 2.

When that name is removed, the count drops to 1 rather than 0.
ovl_nlink_end() replaces the index entry with a whiteout only at a count
of 0, so the entry stays, and the handle of the removed file still opens
it.

Reproduced by writing through open_by_handle_at() to an uncached lower
file with one link. After a remount the data was lost, and the name
returned EIO.

Fix this by adding an argument to ovl_get_nlink() that says whether the
caller found an index entry, and by skipping the xattr only if the
caller found none.

Known gaps:
- An index entry that a kernel without this patch left behind for a
  removed file now stays, and the handle of that file keeps working. The
  entry has i_nlink 1 and a stored count of 1, just like the entry of a
  file that was only written by handle. Without this patch, the next
  mount treated it as an orphan.

Fixes: fbd2d20 ("ovl: index all non-dir on copy up for NFS export")
Cc: [email protected]
Signed-off-by: Chris Mason <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

Changed files:
  fs/overlayfs/inode.c
  fs/overlayfs/namei.c
  fs/overlayfs/overlayfs.h

Diff excerpt:

Not included in this email. See the upstream URL for the full patch.

Full patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=07b000b5b458723ca85d67dbbe5f6359c0202cfc

======================================================================
DETAILED REPORT METHODOLOGY
======================================================================

The original Linux kernel CVE announcement for CVE-2026-99416 can be found here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99416

The original CVE announcement normally does not include a security-level
estimate. In particular, it may not contain a CVSS assessment, an impact
level, or enough information to determine whether the reported bug is a
practically relevant security issue. One purpose of this parallel CVE list
is to provide that missing technical and prioritization information.

The original goal of the AL-KERNEL project was to prioritize Linux kernel
CVE analysis automatically before manual review. The system can also help
identify non-security issues that may be suitable for automatic closure.

This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin.

The first analysis stage combines an autonomous classifier with additional
LLM-based analysis. The autonomous classifier runs locally on a CPU and is
based on a backpropagation neural network. Together, these mechanisms
produce a technical vulnerability description, identify likely weakness
types, estimate CVSS severity, and provide input for ActionableScore.

Two CVSS estimates are retained because incomplete kernel vulnerability
information often permits more than one defensible interpretation:

  Conservative CVSS vector: AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
  The Best / paranoid CVSS vector: AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
  The Best / paranoid CVSS score: 6.7

The conservative vector represents a lower-impact interpretation.
The Best/paranoid vector intentionally represents a plausible upper-bound
interpretation and should not automatically be treated as demonstrated
real-world impact.

CVSS may also need to be adjusted for a particular Linux deployment,
because actual reachability, privileges, enabled kernel configuration,
hardware, namespaces, exposed device nodes, and other environmental
conditions can differ significantly between systems.

A separate ActionableScore mechanism evaluates practical remediation
urgency. Its analysis may include reachability, attack prerequisites,
subsystem exposure, memory-corruption characteristics, denial-of-service
reliability, and possible confidentiality, integrity, or
privilege-escalation impact.

  Conservative ActionableScore: unknown
  Paranoid ActionableScore: 3

The final base severity is taken directly from the second tab-separated
field of the AL-KERNEL classification result. ActionableScore does not
replace or independently override that final AL-KERNEL decision, and
if ActionableScore adjusted impact level of ALKERNEL, then you would see
self-readable flags above like INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHEREQTHAN7.

For an AL-KERNEL result of MODERATE, this report uses the following
additional presentation split:

  ActionableScore below 5   -> MODERATE REGULAR
  ActionableScore 5 or more -> MODERATE 7.0

The distinction between MODERATE REGULAR and MODERATE 7.0 makes it
possible to identify Moderate issues that should receive manual analysis
and fixes before lower-priority MODERATE REGULAR issues. In many cases,
MODERATE REGULAR fixes may wait for a later rebase or routine update.

There is one override in which MODERATE REGULAR becomes MODERATE 7.0
even when the ActionableScore is below 5. When the AL-KERNEL result
contains the KPANIC flag, a MODERATE result is always presented as
MODERATE 7.0. The KPANIC flag selected with few regexps without
usage of AI at all, so it helps to detect cases when Kernel Crash happens
and similar (to filter False-Negative results from the LLM usage).

KPANIC indicates that a reliable kernel crash, kernel panic, or similarly
serious kernel availability impact was identified by the classification
workflow.

AL-KERNEL base severity for this report: MODERATE
KPANIC detected for this report: NO
Published priority for this report (same as in Subject): MODERATE REGULAR

These results are intended to support engineering triage. They are
machine-generated estimates, and cases marked for manual review should
be validated by a human security engineer before final disposition.
For more info read docs linked from here: https://kernelcve.org/
(and you can submit you own patch there to generate such a report
for non-existant CVE-id yet).

Note that in many cases this AI tool selects higher severity, than
real is (means you can expect Importants instead of Moderate 7.0 or
Moderates 7.0 instead of regular Moderates). If you see such cases,
please use reply email interface to add additional manual analyses
info to this particular CVE.
And please, please, let me know when you see Lows instead of Importants
or Important instead of Low (because particular for such cases I
need to tune this AI tool to make it better for this one and next similar).
My contact email for such notifications is [email protected] (and both
send reply to CVE record itself too and see "reply" button below for howto reply).

^ permalink raw reply	[relevance 21%]

Results 1-1 of 1 | reverse | sort options + mbox downloads above
-- links below jump to the message on this page --
2026-11-21 21:43 21% [CVE-2026-99416][MODERATE REGULAR] ovl: read the nlink xattr of every indexed non-dir AL-KERNEL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox