{"id":"CVE-2026-139222","aliases":["CVE-2026-139222"],"related":[],"kind":"vulnerability","state":"published","title":"ionic: fix port_info use-after-free on firmware recovery","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nionic: fix port_info use-after-free on firmware recovery\n\nionic_port_init() allocates port_info when the pointer is NULL, but its\nerror path frees it without checking whether this call allocated it.\nBefore commit ddc5911b9bd2 (\"ionic: call ionic_port_init after\nfw-upgrade\") the function returned early when the buffer already\nexisted, so the two were symmetric.\n\nSince then a failed PORT_INIT on either recovery path - fw_up or\nreset_done - frees a buffer an earlier init owns, while the netdev is\nregistered and the ethtool ops are reading it.\n\nFree only what this call allocated.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nionic: fix port_info use-after-free on firmware recovery\n\nionic_port_init() allocates port_info when the pointer is NULL, but its\nerror path frees it without checking whether this call allocated it.\nBefore commit ddc5911b9bd2 (\"ionic: call ionic_port_init after\nfw-upgrade\") the function returned early when the buffer already\nexisted, so the two were symmetric.\n\nSince then a failed PORT_INIT on either recovery path - fw_up or\nreset_done - frees a buffer an earlier init owns, while the netdev is\nregistered and the ethtool ops are reading it.\n\nFree only what this call allocated.","source":"cvelist"}],"published":"2026-11-30T13:32:44.193Z","modified":"2026-12-01T06:17:39.703Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"3aecc8090f6af7e6445c19db9abaa50f66b609a0","status":"affected"},{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"d84b9db696f80aa3ce83159856cfec6842c7c410","status":"affected"},{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"321edbee9d7b64398bb11fccf46fa9cb0b637e41","status":"affected"},{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"248f5c923663039f5fdebabf818f80bf20ad4d42","status":"affected"},{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04","status":"affected"},{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"4c1870b25621ce76ed2c45dfd820ada1df703881","status":"affected"},{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"fff691dbd53867aeb0b3da2da35592f1dbc6b306","status":"affected"},{"type":"git","introduced":"ddc5911b9bd228dd69de976a4545292420f45e73","fixed":"d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.7","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/3aecc8090f6af7e6445c19db9abaa50f66b609a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d84b9db696f80aa3ce83159856cfec6842c7c410","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/321edbee9d7b64398bb11fccf46fa9cb0b637e41","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/248f5c923663039f5fdebabf818f80bf20ad4d42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c1870b25621ce76ed2c45dfd820ada1df703881","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fff691dbd53867aeb0b3da2da35592f1dbc6b306","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139222","url":"https://www.cve.org/CVERecord?id=CVE-2026-139222","licence":"CVE Terms of Use","modified":"2026-12-01T05:41:54.976Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139222","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139222","licence":"Public domain","modified":"2026-12-01T06:17:39.703Z"}],"updatedAt":"2026-12-01T06:32:20.856Z","epss":{"score":0.00161,"percentile":0.05505,"date":"2026-12-01T12:00:22.000Z"}}