CVE-2026-98493

net: ipconfig: bound DHCP option construction

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

net: ipconfig: bound DHCP option construction

ic_dhcp_init_options() appends the hostname (option 12), vendor-class (option 60) and client-ID (option 61) options into the fixed 312-byte bootp_pkt.exten[] buffer. Only the client-ID branch checked the remaining space; the hostname and vendor-class writes were unbounded.

A 64-byte hostname together with the maximum 252-byte dhcpclass= identifier needs 18 + (2 + 64) + (2 + 252) = 338 of the 312 available bytes even before the terminating END marker, so the vendor-class memcpy runs past the end of exten[]. With CONFIG_FORTIFY_SOURCE this is reported as a field-spanning write and, when the kernel is booted with panic_on_warn=1, aborts boot with a panic.

Route the optional options through a common helper that makes sure the option, its 2-byte header and the END marker all fit and drops an option that would not. Configurations with short options keep sending exactly the same bytes as before.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before e0a221cec0e0ee437680ae0314a4b166509442c5Affected
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before ca811550b9fa87e02845b4a332d194c2304d933fAffected
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before d8016c82acdd7eaa462e1f38a962b15d8c6a650bAffected
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before 38a6a118260ebfc82d0c653194d616bdfbd236acAffected
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before abcba6f080c63e403037ecdffde43170d242376aAffected
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before 24e79508b237dd2a69bc6fb6ac5cf7f126178307Affected
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before cbaad2922bd5d4d303055ae9afecc8999e6b40c9Affected
  • 130c0f47fdf9c533deb1136cad5136f6cb7020f0 to before e47a1958e12abc3a17b5231a4f21c8f1bf662e08Affected
LinuxLinux
  • 2.6.36Affected
  • before 2.6.36Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 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.