{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-43186","id":"CVE-2026-43186","title":"ipv6: ioam: fix heap buffer overflow in __ioam6_fill_trace_data()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: ioam: fix heap buffer overflow in __ioam6_fill_trace_data()\n\nOn the receive path, __ioam6_fill_trace_data() uses trace->nodelen\nto decide how much data to write for each node. It trusts this field\nas-is from the incoming packet, with no consistency check against\ntrace->type (the 24-bit field that tells which data items are\n","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: ioam: fix heap buffer overflow in __ioam6_fill_trace_data()\n\nOn the receive path, __ioam6_fill_trace_data() uses trace->nodelen\nto decide how much data to write for each node. It trusts this field\nas-is from the incoming packet, with no consistency check against\ntrace->type (the 24-bit field that tells which data items are\npresent). A crafted packet can set nodelen=0 while setting type bits\n0-21, causing the function to write ~100 bytes past the allocated\nregion (into skb_shared_info), which corrupts adjacent heap memory\nand leads to a kernel panic.\n\nAdd a shared helper ioam6_trace_compute_nodelen() in ioam6.c to\nderive the expected nodelen from the type field, and use it:\n\n  - in ioam6_iptunnel.c (send path, existing validation) to replace\n    the open-coded computation;\n  - in exthdrs.c (receive path, ipv6_hop_ioam) to drop packets whose\n    nodelen is inconsistent with the type field, before any data is\n    written.\n\nPer RFC 9197, bits 12-21 are each short (4-octet) fields, so they\nare included in IOAM6_MASK_SHORT_FIELDS (changed from 0xff100000 to\n0xff1ffc00).","published":"2026-05-06T11:27:57.053Z","updated":"2026-11-13T02:30:42.654132033Z","reserved":"2026-05-01T14:12:55.991Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9ee11f0fff205b4b3df9750bff5e94f97c71b6a0","lessThan":"f4d9d4b8fd839719d564651671e24c62c545c23b","status":"affected","versionType":"git"},{"version":"9ee11f0fff205b4b3df9750bff5e94f97c71b6a0","lessThan":"fb3c662fafebc5b9d74417ed1de8759f6bb72143","status":"affected","versionType":"git"},{"version":"9ee11f0fff205b4b3df9750bff5e94f97c71b6a0","lessThan":"632d233cf2e64a46865ae2c064ae3c9df7c8864f","status":"affected","versionType":"git"},{"version":"9ee11f0fff205b4b3df9750bff5e94f97c71b6a0","lessThan":"0591d6509c2ff13f09ea2998434aba0c0472e978","status":"affected","versionType":"git"},{"version":"9ee11f0fff205b4b3df9750bff5e94f97c71b6a0","lessThan":"e90346a2f1e8917d5760a44a1f61c44e3b36d96b","status":"affected","versionType":"git"},{"version":"9ee11f0fff205b4b3df9750bff5e94f97c71b6a0","lessThan":"ea3632aefc04205436868541638e26f4a74d5637","status":"affected","versionType":"git"},{"version":"9ee11f0fff205b4b3df9750bff5e94f97c71b6a0","lessThan":"6db8b56eed62baacaf37486e83378a72635c04cc","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.202","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.165","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.128","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.75","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.16","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.6","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-122","CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f4d9d4b8fd839719d564651671e24c62c545c23b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fb3c662fafebc5b9d74417ed1de8759f6bb72143","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/632d233cf2e64a46865ae2c064ae3c9df7c8864f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0591d6509c2ff13f09ea2998434aba0c0472e978","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e90346a2f1e8917d5760a44a1f61c44e3b36d96b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ea3632aefc04205436868541638e26f4a74d5637","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6db8b56eed62baacaf37486e83378a72635c04cc","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43186.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43186","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00642,"epssPercentile":0.51608,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-43186","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43186","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-43186","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-43186","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}