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-52980

HIGH 7.8EPSS 13%

block: ublk: extending queue_size to fix overflow

Mitigation

  • Upgrade Linux to 29baef789c838bd5c02f50c88adbbc6b955aaf61 or later.

Who should check

  • Anyone running Linux >= 71f28f3136aff5890cd56de78abc673f8393cad9, < ee1e3fe4b4579f856997190a00ea4db0307b4332; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 29baef789c838bd5c02f50c88adbbc6b955aaf61
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= 71f28f3136aff5890cd56de78abc673f8393cad9, < ee1e3fe4b4579f856997190a00ea4db0307b4332; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 29baef789c838bd5c02f50c88adbbc6b955aaf61; Linux 6.0
Fixed in
Linux 29baef789c838bd5c02f50c88adbbc6b955aaf61
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.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-787
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: block: ublk: extending queue_size to fix overflow When validating drafted SPDK ublk target, in a case that assigning large queue depth to multiqueue ublk device, ublk target would run into a weird incorrect state. During rounds of review and debug, An overflow bug was found in ublk driver. In ublk_cmd.h, UBLK_MAX_QUEUE_DEPTH is 4096 which means each ublk queue depth can be set as large as 4096. But when setting qd for a ublk device, sizeof(struct ublk_queue) + depth * sizeof(struct ublk_io) will be larger than 65535 if qd is larger than 2728. Then queue_size is overflowed, and ublk_get_queue() references a wrong pointer position. The wrong content of ublk_queue elements will lead to out-of-bounds memory access. Extend queue_size in ublk_device as "unsigned int".

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 71f28f3136aff5890cd56de78abc673f8393cad9, < ee1e3fe4b4579f856997190a00ea4db0307b4332; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 29baef789c838bd5c02f50c88adbbc6b955aaf61—cvelist
Linux6.0—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-52980. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52980.md
Affected: Linux >= 71f28f3136aff5890cd56de78abc673f8393cad9, < ee1e3fe4b4579f856997190a00ea4db0307b4332; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 29baef789c838bd5c02f50c88adbbc6b955aaf61; Linux 6.0
Fixed in: Linux 29baef789c838bd5c02f50c88adbbc6b955aaf61

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-52980 being exploited?

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

How serious is CVE-2023-52980?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-52980?

Linux >= 71f28f3136aff5890cd56de78abc673f8393cad9, < ee1e3fe4b4579f856997190a00ea4db0307b4332; >= 71f28f3136aff5890cd56de78abc673f8393cad9, < 29baef789c838bd5c02f50c88adbbc6b955aaf61; Linux 6.0.

Is there a fix for CVE-2023-52980?

Yes. Fixed in Linux 29baef789c838bd5c02f50c88adbbc6b955aaf61. Upgrade Linux to 29baef789c838bd5c02f50c88adbbc6b955aaf61 or later.

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

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