{"id":"CVE-2026-98493","aliases":["CVE-2026-98493"],"related":[],"kind":"vulnerability","state":"published","title":"net: ipconfig: bound DHCP option construction","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ipconfig: bound DHCP option construction\n\nic_dhcp_init_options() appends the hostname (option 12), vendor-class\n(option 60) and client-ID (option 61) options into the fixed 312-byte\nbootp_pkt.exten[] buffer.  Only the client-ID branch checked the\nremaining space; the hostname and vendor-class writes were unbounded.\n\nA 64-byte hostname together with the maximum 252-byte dhcpclass=\nidentifier needs 18 + (2 + 64) + (2 + 252) = 338 of the 312 available\nbytes even before the terminating END marker, so the vendor-class memcpy\nruns past the end of exten[].  With CONFIG_FORTIFY_SOURCE this is\nreported as a field-spanning write and, when the kernel is booted with\npanic_on_warn=1, aborts boot with a panic.\n\nRoute the optional options through a common helper that makes sure the\noption, its 2-byte header and the END marker all fit and drops an option\nthat would not.  Configurations with short options keep sending exactly\nthe same bytes as before.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ipconfig: bound DHCP option construction\n\nic_dhcp_init_options() appends the hostname (option 12), vendor-class\n(option 60) and client-ID (option 61) options into the fixed 312-byte\nbootp_pkt.exten[] buffer.  Only the client-ID branch checked the\nremaining space; the hostname and vendor-class writes were unbounded.\n\nA 64-byte hostname together with the maximum 252-byte dhcpclass=\nidentifier needs 18 + (2 + 64) + (2 + 252) = 338 of the 312 available\nbytes even before the terminating END marker, so the vendor-class memcpy\nruns past the end of exten[].  With CONFIG_FORTIFY_SOURCE this is\nreported as a field-spanning write and, when the kernel is booted with\npanic_on_warn=1, aborts boot with a panic.\n\nRoute the optional options through a common helper that makes sure the\noption, its 2-byte header and the END marker all fit and drops an option\nthat would not.  Configurations with short options keep sending exactly\nthe same bytes as before.","source":"cvelist"}],"published":"2026-10-18T15:16:22.301Z","modified":"2026-10-30T13:21:15.070Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"e0a221cec0e0ee437680ae0314a4b166509442c5","status":"affected"},{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"ca811550b9fa87e02845b4a332d194c2304d933f","status":"affected"},{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"d8016c82acdd7eaa462e1f38a962b15d8c6a650b","status":"affected"},{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"38a6a118260ebfc82d0c653194d616bdfbd236ac","status":"affected"},{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"abcba6f080c63e403037ecdffde43170d242376a","status":"affected"},{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"24e79508b237dd2a69bc6fb6ac5cf7f126178307","status":"affected"},{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"cbaad2922bd5d4d303055ae9afecc8999e6b40c9","status":"affected"},{"type":"git","introduced":"130c0f47fdf9c533deb1136cad5136f6cb7020f0","fixed":"e47a1958e12abc3a17b5231a4f21c8f1bf662e08","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.36","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.36","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e0a221cec0e0ee437680ae0314a4b166509442c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca811550b9fa87e02845b4a332d194c2304d933f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8016c82acdd7eaa462e1f38a962b15d8c6a650b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38a6a118260ebfc82d0c653194d616bdfbd236ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abcba6f080c63e403037ecdffde43170d242376a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24e79508b237dd2a69bc6fb6ac5cf7f126178307","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cbaad2922bd5d4d303055ae9afecc8999e6b40c9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e47a1958e12abc3a17b5231a4f21c8f1bf662e08","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98493","url":"https://www.cve.org/CVERecord?id=CVE-2026-98493","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:18.516Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98493","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98493","licence":"Public domain","modified":"2026-10-30T13:21:15.070Z"}],"updatedAt":"2026-11-25T22:59:45.200Z","epss":{"score":0.00211,"percentile":0.11926,"date":"2026-12-01T12:00:22.000Z"}}