CVE-2026-97957

net: hinic: fix mailbox segment buffer overflow

State
Published
Severity
8.8 High
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before 7cc974799fde846eda2d8f00ad4f8e1810eb0499Affected
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before 8de1e23bd91fe3a6683e4bc574e2d6bcb0eef920Affected
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before 72be1fd5d256dde748c0905c5e1749a119cad5bdAffected
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before c622bbc212207d7c6bbd69dd88f0c3a3f5853d16Affected
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before eca54a092d5f7b497b458ff5a6f66d4f7bfb6674Affected
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before 9f6ad383901d0cb1c8ea5f7f3160fabfe1540eb5Affected
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before 513f7b16ed0cffae9348151c72bed17c7073096fAffected
  • a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c to before 5d4d985957434867bbe85e4fa5e638f3e48ad522Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 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.