{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23258","id":"CVE-2026-23258","title":"net: liquidio: Initialize netdev pointer before queue setup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: liquidio: Initialize netdev pointer before queue setup\n\nIn setup_nic_devices(), the netdev is allocated using alloc_etherdev_mq().\nHowever, the pointer to this structure is stored in oct->props[i].netdev\nonly after the calls to netif_set_real_num_rx_queues() and\nnetif_set_real_num_tx_queues().\n\nIf either of these functions f","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: liquidio: Initialize netdev pointer before queue setup\n\nIn setup_nic_devices(), the netdev is allocated using alloc_etherdev_mq().\nHowever, the pointer to this structure is stored in oct->props[i].netdev\nonly after the calls to netif_set_real_num_rx_queues() and\nnetif_set_real_num_tx_queues().\n\nIf either of these functions fails, setup_nic_devices() returns an error\nwithout freeing the allocated netdev. Since oct->props[i].netdev is still\nNULL at this point, the cleanup function liquidio_destroy_nic_device()\nwill fail to find and free the netdev, resulting in a memory leak.\n\nFix this by initializing oct->props[i].netdev before calling the queue\nsetup functions. This ensures that the netdev is properly accessible for\ncleanup in case of errors.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","published":"2026-03-18T17:41:05.080Z","updated":"2026-11-07T02:31:03.039127210Z","reserved":"2026-01-13T15:37:45.990Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c33c997346c34ea7b89aec99524ad9632a2f1e0c","lessThan":"be109646cdaecab262f6276303b1763468c94378","status":"affected","versionType":"git"},{"version":"c33c997346c34ea7b89aec99524ad9632a2f1e0c","lessThan":"c81a8515fb8c8fb5d0dbc21f48337494bf1d60df","status":"affected","versionType":"git"},{"version":"c33c997346c34ea7b89aec99524ad9632a2f1e0c","lessThan":"a0e57c0b68c9e6f9a8fd7c1167861a5a730eb2f4","status":"affected","versionType":"git"},{"version":"c33c997346c34ea7b89aec99524ad9632a2f1e0c","lessThan":"c0ed6c77ec34050971fd0df2a94dfdea66d09331","status":"affected","versionType":"git"},{"version":"c33c997346c34ea7b89aec99524ad9632a2f1e0c","lessThan":"1d4590fde856cb94bd9a46e795c29d8288c238fc","status":"affected","versionType":"git"},{"version":"c33c997346c34ea7b89aec99524ad9632a2f1e0c","lessThan":"d028147ae06407cb355245db1774793600670169","status":"affected","versionType":"git"},{"version":"c33c997346c34ea7b89aec99524ad9632a2f1e0c","lessThan":"926ede0c85e1e57c97d64d9612455267d597bb2c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"5.10.250","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.200","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.163","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.124","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.70","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.10","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/be109646cdaecab262f6276303b1763468c94378","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c81a8515fb8c8fb5d0dbc21f48337494bf1d60df","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a0e57c0b68c9e6f9a8fd7c1167861a5a730eb2f4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c0ed6c77ec34050971fd0df2a94dfdea66d09331","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d4590fde856cb94bd9a46e795c29d8288c238fc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d028147ae06407cb355245db1774793600670169","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/926ede0c85e1e57c97d64d9612455267d597bb2c","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23258.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23258","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":"no","technicalImpact":"partial"},"epss":0.00134,"epssPercentile":0.0298,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23258","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23258","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23258","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-23258","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}