5.3

CVE-2023-52618: block/rnbd-srv: Check for unlikely string overflow

Analyzed
AliasesUBUNTU-CVE-2023-52618DEBIAN-CVE-2023-52618
Published 18-03-2024Last modified 11-05-2026

Vulnerability summary

CVE-2023-52618 is a medium (CVSS 5.3) vulnerability in debian debian_linux. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 55.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.74%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 21 · Related 22

Timeline

  1. 18-03-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: block/rnbd-srv: Check for unlikely string overflow Since "dev_search_path" can technically be as large as PATH_MAX, there was a risk of truncation when copying it and a second string into "full_path" since it was also PATH_MAX sized. The W=1 builds were reporting this warning: drivers/block/rnbd/rnbd-srv.c: In function 'process_msg_open.isra': drivers/block/rnbd/rnbd-srv.c:616:51: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 616 | snprintf(full_path, PATH_MAX, "%s/%s", | ^~ In function 'rnbd_srv_get_full_path', inlined from 'process_msg_open.isra' at drivers/block/rnbd/rnbd-srv.c:721:14: drivers/block/rnbd/rnbd-srv.c:616:17: note: 'snprintf' output between 2 and 4351 bytes into a destination of size 4096 616 | snprintf(full_path, PATH_MAX, "%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 617 | dev_search_path, dev_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ To fix this, unconditionally check for truncation (as was already done for the case where "%SESSNAME%" was present).

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.74%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.74% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu118 products
  • linuxAll versions (No fix recorded) | < 5.15.0-106.116
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1061.67
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ 2de6c8de192b9341ffa5e84afe1ce6196d4eef41, < 95bc866c11974d3e4a9d922275ea8127ff809cf7 | ≥ 2de6c8de192b9341ffa5e84afe1ce6196d4eef41, < f6abd5e17da33eba15df2bddc93413e76c2b55f7 | ≥ 2de6c8de192b9341ffa5e84afe1ce6196d4eef41, < af7bbdac89739e2e7380387fda598848d3b7010f | ≥ 2de6c8de192b9341ffa5e84afe1ce6196d4eef41, < 5b9ea86e662035a886ccb5c76d56793cba618827 | ≥ 2de6c8de192b9341ffa5e84afe1ce6196d4eef41, < a2c6206f18104fba7f887bf4dbbfe4c41adc4339 | ≥ 2de6c8de192b9341ffa5e84afe1ce6196d4eef41, < 9e4bf6a08d1e127bcc4bd72557f2dfafc6bc7f41 | 5.8
  • linux_kernel≥ 5.8, < 5.10.210 | ≥ 5.11, < 5.15.149 | ≥ 5.16, < 6.1.77 | ≥ 6.2, < 6.6.16 | ≥ 6.7, < 6.7.4

3 vendors · 122 products

References

24 links
Show all 24 references