Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52566

MEDIUM 5.5EPSS 15%

nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()

Mitigation

  • Upgrade Linux to 7ee29facd8a9c5a26079148e36bcf07141b3a6bc or later.

Who should check

  • Anyone running Linux >= a3d93f709e893187d301aa5458b2248db9f22bd1, < fb1084e63ee56958b0a56e17a50a4fd86445b9c1; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < bb61224f6abc8e71bfdf06d7c984e23460875f5b; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 193b5a1c6c67c36b430989dc063fe7ea4e200a33; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7130a87ca32396eb9bf48b71a2d42259ae44c6c7; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 3936e8714907cd55e37c7cc50e50229e4a9042e8; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 980663f1d189eedafd18d80053d9cf3e2ceb5c8c; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 28df4646ad8b433340772edc90ca709cdefc53e2; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7ee29facd8a9c5a26079148e36bcf07141b3a6bc
  • Anyone running Linux 2.6.30

Vulnerability facts

Affected
Linux >= a3d93f709e893187d301aa5458b2248db9f22bd1, < fb1084e63ee56958b0a56e17a50a4fd86445b9c1; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < bb61224f6abc8e71bfdf06d7c984e23460875f5b; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 193b5a1c6c67c36b430989dc063fe7ea4e200a33; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7130a87ca32396eb9bf48b71a2d42259ae44c6c7; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 3936e8714907cd55e37c7cc50e50229e4a9042e8; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 980663f1d189eedafd18d80053d9cf3e2ceb5c8c; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 28df4646ad8b433340772edc90ca709cdefc53e2; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7ee29facd8a9c5a26079148e36bcf07141b3a6bc; Linux 2.6.30
Fixed in
Linux 193b5a1c6c67c36b430989dc063fe7ea4e200a33, Linux 7130a87ca32396eb9bf48b71a2d42259ae44c6c7, Linux 3936e8714907cd55e37c7cc50e50229e4a9042e8, Linux 980663f1d189eedafd18d80053d9cf3e2ceb5c8c, Linux 28df4646ad8b433340772edc90ca709cdefc53e2, Linux 7ee29facd8a9c5a26079148e36bcf07141b3a6bc
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-416
Published
Modified

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. [konishi.ryusuke@gmail.com: NOTE added to the commit log]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a3d93f709e893187d301aa5458b2248db9f22bd1, < fb1084e63ee56958b0a56e17a50a4fd86445b9c1; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < bb61224f6abc8e71bfdf06d7c984e23460875f5b; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 193b5a1c6c67c36b430989dc063fe7ea4e200a33; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7130a87ca32396eb9bf48b71a2d42259ae44c6c7; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 3936e8714907cd55e37c7cc50e50229e4a9042e8; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 980663f1d189eedafd18d80053d9cf3e2ceb5c8c; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 28df4646ad8b433340772edc90ca709cdefc53e2; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7ee29facd8a9c5a26079148e36bcf07141b3a6bc—cvelist
Linux2.6.30—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-52566. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52566.md
Affected: Linux >= a3d93f709e893187d301aa5458b2248db9f22bd1, < fb1084e63ee56958b0a56e17a50a4fd86445b9c1; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < bb61224f6abc8e71bfdf06d7c984e23460875f5b; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 193b5a1c6c67c36b430989dc063fe7ea4e200a33; >= a3d93f709e893187d301aa5…
Fixed in: Linux 193b5a1c6c67c36b430989dc063fe7ea4e200a33, Linux 7130a87ca32396eb9bf48b71a2d42259ae44c6c7, Linux 3936e8714907cd55e37c7cc50e50229e4a9042e8, Linux 980663f1d189eedafd18d80053d9cf3e2ceb5c8c, Linux 28df4646ad8b433340772edc90ca709cdefc53e2, Linux 7ee29facd8a9c5a26079148e36bcf07141b3a6bc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-52566 being exploited?

There is no confirmed exploitation: CVE-2023-52566 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-52566?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-52566?

Linux >= a3d93f709e893187d301aa5458b2248db9f22bd1, < fb1084e63ee56958b0a56e17a50a4fd86445b9c1; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < bb61224f6abc8e71bfdf06d7c984e23460875f5b; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 193b5a1c6c67c36b430989dc063fe7ea4e200a33; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7130a87ca32396eb9bf48b71a2d42259ae44c6c7; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 3936e8714907cd55e37c7cc50e50229e4a9042e8; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 980663f1d189eedafd18d80053d9cf3e2ceb5c8c; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 28df4646ad8b433340772edc90ca709cdefc53e2; >= a3d93f709e893187d301aa5458b2248db9f22bd1, < 7ee29facd8a9c5a26079148e36bcf07141b3a6bc; Linux 2.6.30.

Is there a fix for CVE-2023-52566?

Yes. Fixed in Linux 193b5a1c6c67c36b430989dc063fe7ea4e200a33, Linux 7130a87ca32396eb9bf48b71a2d42259ae44c6c7, Linux 3936e8714907cd55e37c7cc50e50229e4a9042e8, Linux 980663f1d189eedafd18d80053d9cf3e2ceb5c8c, Linux 28df4646ad8b433340772edc90ca709cdefc53e2, Linux 7ee29facd8a9c5a26079148e36bcf07141b3a6bc. Upgrade Linux to 7ee29facd8a9c5a26079148e36bcf07141b3a6bc or later.

How do I check if I'm affected by CVE-2023-52566?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors