{"id":"CVE-2026-139221","aliases":["CVE-2026-139221"],"related":[],"kind":"vulnerability","state":"published","title":"ionic: free port_info when probe fails after the port is set up","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nionic: free port_info when probe fails after the port is set up\n\nionic_probe() allocates the port_info DMA buffer via ionic_setup_one()\n-> ionic_port_init(). If probe then fails anywhere after that, it\nunwinds through err_out_pci, which never calls ionic_port_reset();\nionic_dev_teardown() and ionic_clear_pci() do not touch port_info, and\nso the buffer is leaked. The call was lost when the setup code was\nmoved into ionic_setup_one().\n\nSince ionic_remove() already frees the port_info DMA buffer with\nionic_port_reset(), call that on the probe error path too. Every path\nto err_out_pci runs after ionic_setup_one() succeeded, so the BARs are\nstill mapped and the firmware gets a PORT_RESET before the buffer is\nfreed, the same order as in ionic_remove().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nionic: free port_info when probe fails after the port is set up\n\nionic_probe() allocates the port_info DMA buffer via ionic_setup_one()\n-> ionic_port_init(). If probe then fails anywhere after that, it\nunwinds through err_out_pci, which never calls ionic_port_reset();\nionic_dev_teardown() and ionic_clear_pci() do not touch port_info, and\nso the buffer is leaked. The call was lost when the setup code was\nmoved into ionic_setup_one().\n\nSince ionic_remove() already frees the port_info DMA buffer with\nionic_port_reset(), call that on the probe error path too. Every path\nto err_out_pci runs after ionic_setup_one() succeeded, so the BARs are\nstill mapped and the firmware gets a PORT_RESET before the buffer is\nfreed, the same order as in ionic_remove().","source":"cvelist"}],"published":"2026-11-30T13:32:43.374Z","modified":"2026-11-30T14:18:42.413Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0de38d9f1dba2336f84799824af08263fc407dd1","fixed":"4e9ec23592e793458e8cb34ccb90f9ad23b29425","status":"affected"},{"type":"git","introduced":"0de38d9f1dba2336f84799824af08263fc407dd1","fixed":"bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1","status":"affected"},{"type":"git","introduced":"0de38d9f1dba2336f84799824af08263fc407dd1","fixed":"a886f04e84e0f96f362f14d8a6cf4cd882e00479","status":"affected"},{"type":"git","introduced":"0de38d9f1dba2336f84799824af08263fc407dd1","fixed":"9150b7787824c9e1d3435fc9be7ed5ca6a270e2f","status":"affected"},{"type":"git","introduced":"0de38d9f1dba2336f84799824af08263fc407dd1","fixed":"4e15e0a941ce901d51b5f203713fa90feee9c4d3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","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/4e9ec23592e793458e8cb34ccb90f9ad23b29425","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bdeced2c6513fcc8aaab0f9e1ebe4d4c5fb297e1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a886f04e84e0f96f362f14d8a6cf4cd882e00479","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9150b7787824c9e1d3435fc9be7ed5ca6a270e2f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e15e0a941ce901d51b5f203713fa90feee9c4d3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139221","url":"https://www.cve.org/CVERecord?id=CVE-2026-139221","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:43.374Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139221","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139221","licence":"Public domain","modified":"2026-11-30T14:18:42.413Z"}],"updatedAt":"2026-11-30T14:32:40.113Z","epss":{"score":0.00209,"percentile":0.11657,"date":"2026-12-01T12:00:22.000Z"}}