CVE-2026-138876 (GCVE-0-2026-138876)
Vulnerability from cvelistv5 – Published: 2026-11-30 13:25 – Updated: 2026-11-30 13:25| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
4e63ce91997a6ac8b8337e87aafb539590ba9ae9 , < a561f301ffb248615070a200cd22136cd671b64a
(git)
Affected: 3eec21b660856c7af1278a07cf668a680c582bde , < ed70c92b58ab28d4e448b9d5f191e989e1f420a3 (git) Affected: 2d9374f095136206a02eb0b6cd9ef94632c1e9f7 , < acdb65f153154e013d428a45627deb98fbbfef8f (git) Affected: 2d9374f095136206a02eb0b6cd9ef94632c1e9f7 , < 71a52b4cf6ca0316bad296a634598ad82baac6e3 (git) Affected: 2d9374f095136206a02eb0b6cd9ef94632c1e9f7 , < 460792f7ecbcecc94e4d938063d76c555a73c2bb (git) Affected: 2d9374f095136206a02eb0b6cd9ef94632c1e9f7 , < 82c9bc868b49d87893ef3ce8c09ff21300dcb50e (git) Affected: 2d9374f095136206a02eb0b6cd9ef94632c1e9f7 , < dba1adf68bc63649994e0e45e74fa6d97416013b (git) Affected: 2d9374f095136206a02eb0b6cd9ef94632c1e9f7 , < ff05910cb1b77c2b229c5e6e260c6173a17b579b (git) Affected: 5.10.220 , < 5.10.275 (semver) Affected: 5.15.154 , < 5.15.226 (semver) |
guessed | |
| Linux | Linux |
Affected:
5.17
Unaffected: 0 , < 5.17 (semver) Unaffected: 5.10.275 , ≤ 5.10.* (semver) Unaffected: 5.15.226 , ≤ 5.15.* (semver) Unaffected: 6.1.193 , ≤ 6.1.* (semver) Unaffected: 6.6.163 , ≤ 6.6.* (semver) Unaffected: 6.12.117 , ≤ 6.12.* (semver) Unaffected: 6.18.63 , ≤ 6.18.* (semver) Unaffected: 7.3.4 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/notify/fanotify/fanotify.c",
"fs/notify/fanotify/fanotify.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a561f301ffb248615070a200cd22136cd671b64a",
"status": "affected",
"version": "4e63ce91997a6ac8b8337e87aafb539590ba9ae9",
"versionType": "git"
},
{
"lessThan": "ed70c92b58ab28d4e448b9d5f191e989e1f420a3",
"status": "affected",
"version": "3eec21b660856c7af1278a07cf668a680c582bde",
"versionType": "git"
},
{
"lessThan": "acdb65f153154e013d428a45627deb98fbbfef8f",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "71a52b4cf6ca0316bad296a634598ad82baac6e3",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "460792f7ecbcecc94e4d938063d76c555a73c2bb",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "82c9bc868b49d87893ef3ce8c09ff21300dcb50e",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "dba1adf68bc63649994e0e45e74fa6d97416013b",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "ff05910cb1b77c2b229c5e6e260c6173a17b579b",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "5.10.275",
"status": "affected",
"version": "5.10.220",
"versionType": "semver"
},
{
"lessThan": "5.15.226",
"status": "affected",
"version": "5.15.154",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/notify/fanotify/fanotify.c",
"fs/notify/fanotify/fanotify.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.17"
},
{
"lessThan": "5.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.63",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.275",
"versionStartIncluding": "5.10.220",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.226",
"versionStartIncluding": "5.15.154",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.117",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.63",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.4",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "5.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfanotify: report names longer than NAME_MAX\n\nfanotify keeps the length of a reported name in a u8, so it drops any\nname longer than NAME_MAX and warns:\n\n WARNING: fs/notify/fanotify/fanotify.h:217 at fanotify_handle_event+0x2e82/0x39f0\n\nSuch names are legitimate on some filesystems. vfat mounted with utf8\ntakes up to 255 UTF-16 characters, which are up to 765 bytes of UTF-8,\nand FUSE accepts names up to PATH_MAX - 1. readdir() and inotify report\nthem in full. fanotify sends the event without the name, and for\nFAN_RENAME it trips a second warning in copy_fid_info_to_user(), after\nwhich read() fails with EFAULT and the event is lost.\n\nWhen syzbot hit this, Jan suggested accommodating names up to PATH_MAX\n[1], the limit readdir() already applies to a name\n(verify_dirent_name()). Store the name lengths as u16, which keeps\nstruct fanotify_info at 8 bytes, and drop without a warning only names\nof PATH_MAX bytes or more, which no path can refer to. An event with\nsuch a name can exceed a page, so allocate name events with kvmalloc(),\nas Jan also suggested. Names up to NAME_MAX are reported exactly as\nbefore, and the record format is unchanged: an event with a long name is\njust longer."
}
],
"providerMetadata": {
"dateUpdated": "2026-11-30T13:25:48.795Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/a561f301ffb248615070a200cd22136cd671b64a"
},
{
"url": "https://git.kernel.org/stable/c/ed70c92b58ab28d4e448b9d5f191e989e1f420a3"
},
{
"url": "https://git.kernel.org/stable/c/acdb65f153154e013d428a45627deb98fbbfef8f"
},
{
"url": "https://git.kernel.org/stable/c/71a52b4cf6ca0316bad296a634598ad82baac6e3"
},
{
"url": "https://git.kernel.org/stable/c/460792f7ecbcecc94e4d938063d76c555a73c2bb"
},
{
"url": "https://git.kernel.org/stable/c/82c9bc868b49d87893ef3ce8c09ff21300dcb50e"
},
{
"url": "https://git.kernel.org/stable/c/dba1adf68bc63649994e0e45e74fa6d97416013b"
},
{
"url": "https://git.kernel.org/stable/c/ff05910cb1b77c2b229c5e6e260c6173a17b579b"
}
],
"title": "fanotify: report names longer than NAME_MAX",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-138876",
"datePublished": "2026-11-30T13:25:48.795Z",
"dateReserved": "2026-11-30T13:22:15.900Z",
"dateUpdated": "2026-11-30T13:25:48.795Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/notify/fanotify/fanotify.c",
"fs/notify/fanotify/fanotify.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a561f301ffb248615070a200cd22136cd671b64a",
"status": "affected",
"version": "4e63ce91997a6ac8b8337e87aafb539590ba9ae9",
"versionType": "git"
},
{
"lessThan": "ed70c92b58ab28d4e448b9d5f191e989e1f420a3",
"status": "affected",
"version": "3eec21b660856c7af1278a07cf668a680c582bde",
"versionType": "git"
},
{
"lessThan": "acdb65f153154e013d428a45627deb98fbbfef8f",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "71a52b4cf6ca0316bad296a634598ad82baac6e3",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "460792f7ecbcecc94e4d938063d76c555a73c2bb",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "82c9bc868b49d87893ef3ce8c09ff21300dcb50e",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "dba1adf68bc63649994e0e45e74fa6d97416013b",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "ff05910cb1b77c2b229c5e6e260c6173a17b579b",
"status": "affected",
"version": "2d9374f095136206a02eb0b6cd9ef94632c1e9f7",
"versionType": "git"
},
{
"lessThan": "5.10.275",
"status": "affected",
"version": "5.10.220",
"versionType": "semver"
},
{
"lessThan": "5.15.226",
"status": "affected",
"version": "5.15.154",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/notify/fanotify/fanotify.c",
"fs/notify/fanotify/fanotify.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.17"
},
{
"lessThan": "5.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.63",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfanotify: report names longer than NAME_MAX\n\nfanotify keeps the length of a reported name in a u8, so it drops any\nname longer than NAME_MAX and warns:\n\n WARNING: fs/notify/fanotify/fanotify.h:217 at fanotify_handle_event+0x2e82/0x39f0\n\nSuch names are legitimate on some filesystems. vfat mounted with utf8\ntakes up to 255 UTF-16 characters, which are up to 765 bytes of UTF-8,\nand FUSE accepts names up to PATH_MAX - 1. readdir() and inotify report\nthem in full. fanotify sends the event without the name, and for\nFAN_RENAME it trips a second warning in copy_fid_info_to_user(), after\nwhich read() fails with EFAULT and the event is lost.\n\nWhen syzbot hit this, Jan suggested accommodating names up to PATH_MAX\n[1], the limit readdir() already applies to a name\n(verify_dirent_name()). Store the name lengths as u16, which keeps\nstruct fanotify_info at 8 bytes, and drop without a warning only names\nof PATH_MAX bytes or more, which no path can refer to. An event with\nsuch a name can exceed a page, so allocate name events with kvmalloc(),\nas Jan also suggested. Names up to NAME_MAX are reported exactly as\nbefore, and the record format is unchanged: an event with a long name is\njust longer."
}
],
"id": "CVE-2026-138876",
"lastModified": "2026-11-30T14:17:44.620",
"metrics": {},
"published": "2026-11-30T14:17:44.620",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/460792f7ecbcecc94e4d938063d76c555a73c2bb"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/71a52b4cf6ca0316bad296a634598ad82baac6e3"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/82c9bc868b49d87893ef3ce8c09ff21300dcb50e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a561f301ffb248615070a200cd22136cd671b64a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/acdb65f153154e013d428a45627deb98fbbfef8f"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/dba1adf68bc63649994e0e45e74fa6d97416013b"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ed70c92b58ab28d4e448b9d5f191e989e1f420a3"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ff05910cb1b77c2b229c5e6e260c6173a17b579b"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-30T23:35:25+00:00",
"cve": "CVE-2026-138876",
"id": "CVE-2026-138876",
"initial_release_date": "2026-11-30T13:25:48.795000+00:00",
"product_status:known_affected": "187",
"product_status:known_not_affected": "93",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: fanotify: Denial of service via handling of long filenames",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-138876.json",
"version": "3"
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.