CVE-2023-52748
f2fs: avoid format-overflow warning
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 31083031709eea6530f0551d59eecdb2e68265ef, < c041f5ddef00c731c541e00bc8ae97b8c84c682f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e4088d7d8f1123006d46a42edf51b8c960a58ef9; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 6fca08fd3085253b48fcb1bd243a0a5e18821a00; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 3eebe636cac53886bd5d1cdd55e082ec9e84983f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e0d4e8acb3789c5a8651061fbab62ca24a45c063
- Anyone running Linux 5.10
Vulnerability facts
- Affected
- Linux >= 31083031709eea6530f0551d59eecdb2e68265ef, < c041f5ddef00c731c541e00bc8ae97b8c84c682f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e4088d7d8f1123006d46a42edf51b8c960a58ef9; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 6fca08fd3085253b48fcb1bd243a0a5e18821a00; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 3eebe636cac53886bd5d1cdd55e082ec9e84983f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e0d4e8acb3789c5a8651061fbab62ca24a45c063; Linux 5.10
- Fixed in
- Linux 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79, Linux 6fca08fd3085253b48fcb1bd243a0a5e18821a00, Linux 3eebe636cac53886bd5d1cdd55e082ec9e84983f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: avoid format-overflow warning With gcc and W=1 option, there's a warning like this: fs/f2fs/compress.c: In function ‘f2fs_init_page_array_cache’: fs/f2fs/compress.c:1984:47: error: ‘%u’ directive writing between 1 and 7 bytes into a region of size between 5 and 8 [-Werror=format-overflow=] 1984 | sprintf(slab_name, "f2fs_page_array_entry-%u:%u", MAJOR(dev), MINOR(dev)); | ^~ String "f2fs_page_array_entry-%u:%u" can up to 35. The first "%u" can up to 4 and the second "%u" can up to 7, so total size is "24 + 4 + 7 = 35". slab_name's size should be 35 rather than 32.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 31083031709eea6530f0551d59eecdb2e68265ef, < c041f5ddef00c731c541e00bc8ae97b8c84c682f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e4088d7d8f1123006d46a42edf51b8c960a58ef9; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 6fca08fd3085253b48fcb1bd243a0a5e18821a00; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 3eebe636cac53886bd5d1cdd55e082ec9e84983f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e0d4e8acb3789c5a8651061fbab62ca24a45c063 | — | cvelist |
| Linux | 5.10 | — | 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-52748. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52748.md Affected: Linux >= 31083031709eea6530f0551d59eecdb2e68265ef, < c041f5ddef00c731c541e00bc8ae97b8c84c682f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e4088d7d8f1123006d46a42edf51b8c960a58ef9; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79; >= 31083031709eea6530f0551… Fixed in: Linux 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79, Linux 6fca08fd3085253b48fcb1bd243a0a5e18821a00, Linux 3eebe636cac53886bd5d1cdd55e082ec9e84983f 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
Patches
- https://git.kernel.org/stable/c/c041f5ddef00c731c541e00bc8ae97b8c84c682f
- https://git.kernel.org/stable/c/e4088d7d8f1123006d46a42edf51b8c960a58ef9
- https://git.kernel.org/stable/c/526dd7540a09ecf87b5f54f3ab4e0a2528f25a79
- https://git.kernel.org/stable/c/6fca08fd3085253b48fcb1bd243a0a5e18821a00
- https://git.kernel.org/stable/c/3eebe636cac53886bd5d1cdd55e082ec9e84983f
- https://git.kernel.org/stable/c/e0d4e8acb3789c5a8651061fbab62ca24a45c063
FAQ
Is CVE-2023-52748 being exploited?
There is no confirmed exploitation: CVE-2023-52748 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52748?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52748?
Linux >= 31083031709eea6530f0551d59eecdb2e68265ef, < c041f5ddef00c731c541e00bc8ae97b8c84c682f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e4088d7d8f1123006d46a42edf51b8c960a58ef9; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 6fca08fd3085253b48fcb1bd243a0a5e18821a00; >= 31083031709eea6530f0551d59eecdb2e68265ef, < 3eebe636cac53886bd5d1cdd55e082ec9e84983f; >= 31083031709eea6530f0551d59eecdb2e68265ef, < e0d4e8acb3789c5a8651061fbab62ca24a45c063; Linux 5.10.
Is there a fix for CVE-2023-52748?
Yes. Fixed in Linux 526dd7540a09ecf87b5f54f3ab4e0a2528f25a79, Linux 6fca08fd3085253b48fcb1bd243a0a5e18821a00, Linux 3eebe636cac53886bd5d1cdd55e082ec9e84983f. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-52748?
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.