{"api_version":"1","generated_at":"2026-11-30T18:56:04+00:00","cve":"CVE-2026-139222","urls":{"html":"https://cve.report/CVE-2026-139222","api":"https://cve.report/api/cve/CVE-2026-139222.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139222","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139222"},"summary":{"title":"ionic: fix port_info use-after-free on firmware recovery","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:42","updated_at":"2026-11-30 14:18:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/3aecc8090f6af7e6445c19db9abaa50f66b609a0","name":"https://git.kernel.org/stable/c/3aecc8090f6af7e6445c19db9abaa50f66b609a0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/321edbee9d7b64398bb11fccf46fa9cb0b637e41","name":"https://git.kernel.org/stable/c/321edbee9d7b64398bb11fccf46fa9cb0b637e41","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d84b9db696f80aa3ce83159856cfec6842c7c410","name":"https://git.kernel.org/stable/c/d84b9db696f80aa3ce83159856cfec6842c7c410","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e","name":"https://git.kernel.org/stable/c/d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/248f5c923663039f5fdebabf818f80bf20ad4d42","name":"https://git.kernel.org/stable/c/248f5c923663039f5fdebabf818f80bf20ad4d42","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04","name":"https://git.kernel.org/stable/c/44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fff691dbd53867aeb0b3da2da35592f1dbc6b306","name":"https://git.kernel.org/stable/c/fff691dbd53867aeb0b3da2da35592f1dbc6b306","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4c1870b25621ce76ed2c45dfd820ada1df703881","name":"https://git.kernel.org/stable/c/4c1870b25621ce76ed2c45dfd820ada1df703881","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139222","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139222","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 3aecc8090f6af7e6445c19db9abaa50f66b609a0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 d84b9db696f80aa3ce83159856cfec6842c7c410 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 321edbee9d7b64398bb11fccf46fa9cb0b637e41 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 248f5c923663039f5fdebabf818f80bf20ad4d42 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 4c1870b25621ce76ed2c45dfd820ada1df703881 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 fff691dbd53867aeb0b3da2da35592f1dbc6b306 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ddc5911b9bd228dd69de976a4545292420f45e73 d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/pensando/ionic/ionic_main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3aecc8090f6af7e6445c19db9abaa50f66b609a0","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"},{"lessThan":"d84b9db696f80aa3ce83159856cfec6842c7c410","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"},{"lessThan":"321edbee9d7b64398bb11fccf46fa9cb0b637e41","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"},{"lessThan":"248f5c923663039f5fdebabf818f80bf20ad4d42","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"},{"lessThan":"44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"},{"lessThan":"4c1870b25621ce76ed2c45dfd820ada1df703881","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"},{"lessThan":"fff691dbd53867aeb0b3da2da35592f1dbc6b306","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"},{"lessThan":"d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e","status":"affected","version":"ddc5911b9bd228dd69de976a4545292420f45e73","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/pensando/ionic/ionic_main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.7"},{"lessThan":"5.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:44.193Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3aecc8090f6af7e6445c19db9abaa50f66b609a0"},{"url":"https://git.kernel.org/stable/c/d84b9db696f80aa3ce83159856cfec6842c7c410"},{"url":"https://git.kernel.org/stable/c/321edbee9d7b64398bb11fccf46fa9cb0b637e41"},{"url":"https://git.kernel.org/stable/c/248f5c923663039f5fdebabf818f80bf20ad4d42"},{"url":"https://git.kernel.org/stable/c/44ff46df5d0f2c41ac44bb8e658ea71ea7a6cd04"},{"url":"https://git.kernel.org/stable/c/4c1870b25621ce76ed2c45dfd820ada1df703881"},{"url":"https://git.kernel.org/stable/c/fff691dbd53867aeb0b3da2da35592f1dbc6b306"},{"url":"https://git.kernel.org/stable/c/d90d1a768b3b022c52beafb3a4701ee2ee3d2b5e"}],"title":"ionic: fix port_info use-after-free on firmware recovery","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139222","datePublished":"2026-11-30T13:32:44.193Z","dateReserved":"2026-11-30T13:22:15.921Z","dateUpdated":"2026-11-30T13:32:44.193Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:42","lastModifiedDate":"2026-11-30 14:18:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139222","Ordinal":"1","Title":"ionic: fix port_info use-after-free on firmware recovery","CVE":"CVE-2026-139222","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139222","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ionic: fix port_info use-after-free on firmware recovery"}]}}}