Linux Kernel up to 7.3.3 fanotify fanotify.h fanotify_handle_event allocation of resources

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.60+

Summaryinfo

A vulnerability described as critical has been identified in Linux Kernel up to 7.3.3. Impacted is the function fanotify_handle_event of the file fs/notify/fanotify/fanotify.h of the component fanotify. Such manipulation leads to allocation of resources. This vulnerability is listed as CVE-2026-138876. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Linux Kernel up to 7.3.3. Affected by this issue is the function fanotify_handle_event of the file fs/notify/fanotify/fanotify.h of the component fanotify. The manipulation with an unknown input leads to a allocation of resources vulnerability. Using CWE to declare the problem leads to CWE-770. The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. Impacted is confidentiality, integrity, and availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: fanotify: report names longer than NAME_MAX fanotify keeps the length of a reported name in a u8, so it drops any name longer than NAME_MAX and warns: WARNING: fs/notify/fanotify/fanotify.h:217 at fanotify_handle_event+0x2e82/0x39f0 Such names are legitimate on some filesystems. vfat mounted with utf8 takes up to 255 UTF-16 characters, which are up to 765 bytes of UTF-8, and FUSE accepts names up to PATH_MAX - 1. readdir() and inotify report them in full. fanotify sends the event without the name, and for FAN_RENAME it trips a second warning in copy_fid_info_to_user(), after which read() fails with EFAULT and the event is lost. When syzbot hit this, Jan suggested accommodating names up to PATH_MAX [1], the limit readdir() already applies to a name (verify_dirent_name()). Store the name lengths as u16, which keeps struct fanotify_info at 8 bytes, and drop without a warning only names of PATH_MAX bytes or more, which no path can refer to. An event with such a name can exceed a page, so allocate name events with kvmalloc(), as Jan also suggested. Names up to NAME_MAX are reported exactly as before, and the record format is unchanged: an event with a long name is just longer.

The advisory is shared for download at git.kernel.org. This vulnerability is handled as CVE-2026-138876 since 11/30/2026. The exploitation is known to be easy. The attack may be launched remotely. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 11/30/2026). The MITRE ATT&CK project declares the attack technique as T1499.

Upgrading to version 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1 eliminates this vulnerability. Applying the patch a561f301ffb248615070a200cd22136cd671b64a/ed70c92b58ab28d4e448b9d5f191e989e1f420a3/acdb65f153154e013d428a45627deb98fbbfef8f/71a52b4cf6ca0316bad296a634598ad82baac6e3/460792f7ecbcecc94e4d938063d76c555a73c2bb/82c9bc868b49d87893ef3ce8c09ff21300dcb50e/dba1adf68bc63649994e0e45e74fa6d97416013b/ff05910cb1b77c2b229c5e6e260c6173a17b579b is able to eliminate this problem. The best possible mitigation is suggested to be upgrading to the latest version.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Allocation of resources
CWE: CWE-770 / CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.10.275/5.15.226/6.1.193/6.6.163/6.12.117/6.18.63/7.3.4/7.4-rc1
Patch: a561f301ffb248615070a200cd22136cd671b64a/ed70c92b58ab28d4e448b9d5f191e989e1f420a3/acdb65f153154e013d428a45627deb98fbbfef8f/71a52b4cf6ca0316bad296a634598ad82baac6e3/460792f7ecbcecc94e4d938063d76c555a73c2bb/82c9bc868b49d87893ef3ce8c09ff21300dcb50e/dba1adf68bc63649994e0e45e74fa6d97416013b/ff05910cb1b77c2b229c5e6e260c6173a17b579b

Timelineinfo

11/30/2026 Advisory disclosed
11/30/2026 +0 days CVE reserved
11/30/2026 +0 days VulDB entry created
11/30/2026 +0 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CNA: Linux
CVE: CVE-2026-138876 (🔒)

GCVE (CVE): GCVE-0-2026-138876
GCVE (VulDB): GCVE-100-446528

Entryinfo

Created: 11/30/2026 20:02
Changes: 11/30/2026 20:02 (60)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!