net: hinic: fix mailbox segment buffer overflow (Linux Linux)

CVE-2026-97957
HIGH 8.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: hinic: fix mailbox segment buffer overflow check_mbox_seq_id_and_seg_len() validates that seq_id does not exceed SEQ_ID_MAX_VAL (42) and seg_len does not exceed MBOX_SEG_LEN (48). However, this allows the last segment (seq_id=42) to carry a full 48-byte payload, writing to offset 42*48=2016 for 48 bytes (ending at byte 2064). The receive buffer is only MBOX_MAX_BUF_SZ (2048) bytes, resulting in a 16-byte heap buffer overflow. The hinic3 driver already handles this correctly by defining MBOX_LAST_SEG_MAX_LEN and rejecting the last segment when it exceeds the remaining buffer space. Apply the same fix to the hinic driver.

Références

Scores

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

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c < 7cc974799fde846eda2d8f00ad4f8e1810eb0499 ; affected a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c < 8de1e23bd91fe3a6683e4bc574e2d6bcb0eef920 ; affected a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c < 72be1fd5d256dde748c0905c5e1749a119cad5bd ; affected a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c < c622bbc212207d7c6bbd69dd88f0c3a3f5853d16 ; affected a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c < eca54a092d5f7b497b458ff5a6f66d4f7bfb6674 ; affected a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c < 9f6ad383901d0cb1c8ea5f7f3160fabfe1540eb5
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

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