CVE-2023-52566: nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
Vulnerability summary
CVE-2023-52566 is a medium (CVSS 5.5) Use After Free vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 10Timeline
- 02-03-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential use after free in nilfs_gccache_submit_read_data() In nilfs_gccache_submit_read_data(), brelse(bh) is called to drop the reference count of bh when the call to nilfs_dat_translate() fails. If the reference count hits 0 and its owner page gets unlocked, bh may be freed. However, bh->b_page is dereferenced to put the page after that, which may result in a use-after-free bug. This patch moves the release operation after unlocking and putting the page. NOTE: The function in question is only called in GC, and in combination with current userland tools, address translation using DAT does not occur in that function, so the code path that causes this issue will not be executed. However, it is possible to run that code path by intentionally modifying the userland GC library or by calling the GC ioctl directly. [[email protected]: NOTE added to the commit log]
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-11-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.
Ubuntu115 products
- linuxAll versions (No fix recorded) | < 4.4.0-254.288 | < 4.15.0-225.237 | < 5.4.0-171.189 | < 5.15.0-94.104
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1131.137 | < 4.4.0-1169.184 | < 4.15.0-1168.181 | < 5.4.0-1118.128 | < 5.15.0-1053.58
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < fb1084e63ee56958b0a56e17a50a4fd86445b9c1 | ≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < bb61224f6abc8e71bfdf06d7c984e23460875f5b | ≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < 193b5a1c6c67c36b430989dc063fe7ea4e200a33 | ≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < 7130a87ca32396eb9bf48b71a2d42259ae44c6c7 | ≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < 3936e8714907cd55e37c7cc50e50229e4a9042e8 | ≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < 980663f1d189eedafd18d80053d9cf3e2ceb5c8c | ≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < 28df4646ad8b433340772edc90ca709cdefc53e2 | ≥ a3d93f709e893187d301aa5458b2248db9f22bd1, < 7ee29facd8a9c5a26079148e36bcf07141b3a6bc | 2.6.30
- linux_kernel≥ 2.6.30, < 4.14.327 | ≥ 4.15, < 4.19.296 | ≥ 4.20, < 5.4.258 | ≥ 5.5, < 5.10.198 | ≥ 5.11, < 5.15.134 | ≥ 5.16, < 6.1.56 | ≥ 6.2, < 6.5.6 | 6.6:rc1 | 6.6:rc2 | 6.6:rc3
Debian1 product
- linux< 6.1.64-1 | < 6.5.6-1
3 vendors · 118 products