Shellfeed logo Shellfeed

CVE-2026-97957 · HIGH (CVSS 8.8)

Summary: net: hinic: fix mailbox segment buffer overflow

EPSS: 0.1% probability of exploitation in the next 30 days (percentile 3.6).

Details

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.

Severity

HIGH (CVSS 8.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c – 7cc974799fde846eda2d8f00ad4f8e1810eb0499]
  • Linux Kernel [5.8.0 – 5.10.271] [5.11.0 – 5.15.222] [5.16.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.111] [6.13.0 – 6.18.53] [6.19.0 – 7.2.7]

References