{"id":"CVE-2026-139343","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:59.380","lastModified":"2026-12-01T06:17:42.543","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: use RCU protection in inet_netconf_get_devconf()\n\ninet_netconf_get_devconf() runs without RTNL. It uses dev_get_by_index()\nand in_dev_get() to pin the device and its in_device while the reply is\nallocated and filled.\n\nin_dev_get() is not safe for a lockless caller. Since commit 9d40c84cf5bc\n(\"net: devinet: Reduce refcount before grace period\"), inetdev_destroy()\ndrops the final reference before the RCU grace period. A reader can load\ndev->ip_ptr, then call refcount_inc() on a zero refcount after\nin_dev_free_rcu() has been queued, and keep using the in_device once it\nhas been freed.\n\nNone of these references are needed. An in_device is freed after an RCU\ngrace period, ipv4_devconf is embedded in it, and\ninet_netconf_fill_devconf() does not sleep.\n\nAllocate the skb first, then perform the lookup and the fill under\nrcu_read_lock(), using dev_get_by_index_rcu() and __in_dev_get_rcu(),\nlike inet_netconf_dump_devconf() already does."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv4/devinet.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"bbcf91053bb622c4c26a9bfc998d3b0c59227f10","lessThan":"65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5","versionType":"git","status":"affected"},{"version":"bbcf91053bb622c4c26a9bfc998d3b0c59227f10","lessThan":"f069745ffcea66a6bde5ade49e5145e7bd9d74ce","versionType":"git","status":"affected"},{"version":"bbcf91053bb622c4c26a9bfc998d3b0c59227f10","lessThan":"188ec7dfa015e9fa6ad809447589c950185762e9","versionType":"git","status":"affected"},{"version":"bbcf91053bb622c4c26a9bfc998d3b0c59227f10","lessThan":"b2039a6dd36b5c89142bfb95bc0205be8abcc600","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv4/devinet.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/188ec7dfa015e9fa6ad809447589c950185762e9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b2039a6dd36b5c89142bfb95bc0205be8abcc600","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f069745ffcea66a6bde5ade49e5145e7bd9d74ce","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}