Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-52618 — debian-linux

🟡 CVSS 5.3 — Medium ✅ No Known Exploit NVD
5.3
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

block/rnbd-srv: Check for unlikely string overflow

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).

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: None.
  • Availability impact: None.

Affected software

CVE-2023-52618 is recorded against 3 packages.

  • debian-linux
  • kernel (from 6.7.0 up to 6.7.4)
  • linux-kernel (from 6.7 up to 6.7.4)

Timeline and source

Published on 18 March 2024 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
lists.debian.org

Other advisories for this package

debian-linux has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2023-52618 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 5.3
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-03-18
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
debian-linux — —
kernel 6.7.0 6.7.4
linux-kernel 6.7 6.7.4

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in debian-linux

CVE-2023-52618 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2023
✓