CVE-2024-56627

ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read

State
Published
Severity
8.1 High
Published
Dec 27, 2024
Updated
Aug 5, 2026
Reserved
Dec 27, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read

An offset from client could be a negative value, It could lead to an out-of-bounds read from the stream_buf. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 6bd1bf0e8c42f10a9a9679a4c103a9032d30594dAffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before de4d790dcf53be41736239d7ee63849a16ff5d10Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 27de4295522e9a33e4a3fc72f7b8193df9eebe41Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 81eed631935f2c52cdaf6691c6d48e0b06e8ad73Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.176 through 5.15.*Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.66 through 6.6.*Not affected
  • 6.12.5 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.