CVE-2026-90176

ksmbd: Do not skip lock checks for single-byte ranges

HIGH 8.1

En bref

Source
NVD
EPSS
EPSS 0.50 % · centile 43 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Do not skip lock checks for single-byte ranges check_lock_range() uses inclusive ranges. Its callers pass the end offset as start + length - 1, so start == end represents a valid single-byte range rather than an empty range. The start == end shortcut therefore skips mandatory byte-range lock checks for one-byte reads, writes, copychunk operations and one-byte truncate ranges. A conflicting lock covering that byte is not checked and the operation is allowed to proceed. Remove the shortcut. The truncate size == inode->i_size case is already handled by only calling check_lock_range() when the new size differs from the current file size.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 52fcbb92e0d3acfd1448b2a43b6595d540da5295 < a89cc145832e81c32199d4ca2e1ea8bd51ed601d ; affected da29cd197246c85c0473259f1cad897d9d28faea < 993e0158331d37c04da18efe551b5e1e35fb3078 ; affected a6f4cfa3783804336491e0edcb250c25f9b59d33 < f751d6e39d4c937c45f8fedc66699aa7d2d52288 ; affected 571204e4758a528fbd67330bd4b0dfbdafb33dd8 < 84c2d8e807ac489f5c91769293fb15dfdae8bae8 ; affected 5d510ac31626ed157d2182149559430350cf2104 < 07a9e289ff7edcc004f58952405f8a65c4e37512 ; affected 5d510ac31626ed157d2182149559430350cf2104 < d40c24634fe077a0dc91fd11fccf44ce12b454d5
Linux · Linuxaffected 6.19 ; unaffected 0 < 6.19 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD