CVE-2024-47660: fsnotify: clear PARENT_WATCHED flags lazily
Vulnerability summary
CVE-2024-47660 is a medium (CVSS 4.7) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.1% of scored vulnerabilities.
Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 25 · Related 23Timeline
- 09-10-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: fsnotify: clear PARENT_WATCHED flags lazily In some setups directories can have many (usually negative) dentries. Hence __fsnotify_update_child_dentry_flags() function can take a significant amount of time. Since the bulk of this function happens under inode->i_lock this causes a significant contention on the lock when we remove the watch from the directory as the __fsnotify_update_child_dentry_flags() call from fsnotify_recalc_mask() races with __fsnotify_update_child_dentry_flags() calls from __fsnotify_parent() happening on children. This can lead upto softlockup reports reported by users. Fix the problem by calling fsnotify_update_children_dentry_flags() to set PARENT_WATCHED flags only when parent starts watching children. When parent stops watching children, clear false positive PARENT_WATCHED flags lazily in __fsnotify_parent() for each accessed child.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu130 products
- linuxAll versions (No fix recorded) | < 5.15.0-125.135 | < 6.8.0-50.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1072.78 | < 6.8.0-1020.22
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 873feea09ebc980cbd3631b767356ce1eee65ec1, < 3f3ef1d9f66b93913ce2171120d9226b55acd41d | ≥ 873feea09ebc980cbd3631b767356ce1eee65ec1, < f9a48bc3dd9099935751458a5bbbea4b7c28abc8 | ≥ 873feea09ebc980cbd3631b767356ce1eee65ec1, < d8c42405fc3507cc43ba7e4986a773c3fc633f6e | ≥ 873feea09ebc980cbd3631b767356ce1eee65ec1, < fc1b1e135c3f72382f792e6c319fc088d5523ad5 | ≥ 873feea09ebc980cbd3631b767356ce1eee65ec1, < 7ef1d2e240c32b1f337a37232d037b07e3919e1a | ≥ 873feea09ebc980cbd3631b767356ce1eee65ec1, < 172e422ffea20a89bfdc672741c1aad6fbb5044e | 2.6.38
- linux_kernel< 5.10.226 | ≥ 5.11, < 5.15.167 | ≥ 5.16, < 6.1.109 | ≥ 6.2, < 6.6.50 | ≥ 6.7, < 6.10.9
Debian1 product
- linux< 6.1.112-1 | < 6.10.9-1
3 vendors · 133 products