{"id":"CVE-2022-48742","aliases":["CVE-2022-48742"],"related":[],"kind":"vulnerability","state":"published","title":"rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()\n\nWhile looking at one unrelated syzbot bug, I found the replay logic\nin __rtnl_newlink() to potentially trigger use-after-free.\n\nIt is better to clear master_dev and m_ops inside the loop,\nin case we have to replay it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()\n\nWhile looking at one unrelated syzbot bug, I found the replay logic\nin __rtnl_newlink() to potentially trigger use-after-free.\n\nIt is better to clear master_dev and m_ops inside the loop,\nin case we have to replay it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: rtnetlink: asegúrese de actualizar master_dev/m_ops en __rtnl_newlink() Mientras observaba un error de syzbot no relacionado, encontré la lógica de reproducción en __rtnl_newlink() para activar potencialmente el use-after-free. Es mejor borrar master_dev y m_ops dentro del bucle, en caso de que tengamos que reproducirlo.","source":"nvd"}],"published":"2024-06-20T11:13:26.653Z","modified":"2026-08-05T08:52:04.588Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"2cf180360d66bd657e606c1217e0e668e6faa303","status":"affected"},{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"7d9211678c0f0624f74cdff36117ab8316697bb8","status":"affected"},{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"a01e60a1ec6bef9be471fb7182a33c6d6f124e93","status":"affected"},{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"bd43771ee9759dd9dfae946bff190e2c5a120de5","status":"affected"},{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"3bbe2019dd12b8d13671ee6cda055d49637b4c39","status":"affected"},{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"def5e7070079b2a214b3b1a2fbec623e6fbfe34a","status":"affected"},{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"36a9a0aee881940476b254e0352581401b23f210","status":"affected"},{"type":"git","introduced":"ba7d49b1f0f8e5f24294a880ed576964059af5ef","fixed":"c6f6f2444bdbe0079e41914a35081530d0409963","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"4.9.300","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.265","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.228","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.177","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.97","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.20","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.6","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.14","fixed":"4.9.300"},{"status":"affected","introduced":"4.10","fixed":"4.14.265"},{"status":"affected","introduced":"4.15","fixed":"4.19.228"},{"status":"affected","introduced":"4.20","fixed":"5.4.177"},{"status":"affected","introduced":"5.5","fixed":"5.10.97"},{"status":"affected","introduced":"5.11","fixed":"5.15.20"},{"status":"affected","introduced":"5.16","fixed":"5.16.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2cf180360d66bd657e606c1217e0e668e6faa303","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d9211678c0f0624f74cdff36117ab8316697bb8","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a01e60a1ec6bef9be471fb7182a33c6d6f124e93","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd43771ee9759dd9dfae946bff190e2c5a120de5","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bbe2019dd12b8d13671ee6cda055d49637b4c39","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/def5e7070079b2a214b3b1a2fbec623e6fbfe34a","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36a9a0aee881940476b254e0352581401b23f210","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6f6f2444bdbe0079e41914a35081530d0409963","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:10:41.257Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48742","url":"https://www.cve.org/CVERecord?id=CVE-2022-48742","licence":"CVE Terms of Use","modified":"2026-08-05T08:52:04.588Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48742","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48742","licence":"Public domain","modified":"2026-08-04T10:17:18.800Z"}],"updatedAt":"2026-11-25T22:58:19.845Z","epss":{"score":0.00239,"percentile":0.16049,"date":"2026-12-01T12:00:22.000Z"}}