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.
Published: 2026-10-18
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

In the Linux kernel, DHCP option construction appends the hostname, vendor‑class, and client‑ID options into a fixed 312‑byte buffer. The hostname and vendor‑class writes are unbounded; when a 64‑byte hostname and a 252‑byte vendor‑class are used, the helper requires 338 bytes, exceeding the buffer limit. The resulting out‑of‑bounds write triggers a field‑spanning write that, when panic_on_warn is enabled, causes the kernel to abort and the machine to crash during boot. This is a classic buffer overflow (CWE‑787) that results in a denial of service.

Affected Systems

Linux kernels that build DHCP options into the 312‑byte bootp_pkt.exten[] buffer before the patch adding size‑checked helper are vulnerable. The CVE description does not specify exact version ranges; any kernel incorporating the faulty logic prior to the update can be affected. Once the updated logic that verifies the remaining space is applied, the issue is resolved.

Risk and Exploitability

The CVSS score of 4.1 indicates moderate severity, and the EPSS score of <1% suggests a low current exploitation probability. The vulnerability is not in the CISA KEV catalog. An attacker who can send malicious DHCP packets containing oversized hostname and vendor‑class values to a target system that uses DHCP for address resolution may trigger the overflow. If panic_on_warn=1, this can lead to a kernel panic and service interruption during boot or reboot, posing a moderate to high risk in environments accepting DHCP from untrusted sources.

Generated by OpenCVE AI on October 23, 2026 at 06:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the DHCP option construction patch.
  • If a kernel upgrade cannot be performed immediately, disable panic_on_warn=1 (or set it to 0) to prevent kernel panic on the overflow.
  • Block or limit incoming DHCP traffic from untrusted sources using firewall rules or network segmentation.

Generated by OpenCVE AI on October 23, 2026 at 06:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Fri, 30 Oct 2026 12:45:00 +0000


Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 21 Oct 2026 13:15:00 +0000


Wed, 21 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title net: ipconfig: bound DHCP option construction
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:38:18.516Z

Reserved: 2026-09-25T10:25:14.353Z

Link: CVE-2026-98493

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:00.257

Modified: 2026-10-30T13:21:15.070

Link: CVE-2026-98493

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98493 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T07:00:17Z

Weaknesses