cve-2022-48810
Vulnerability from cvelistv5
Published
2024-07-16 11:44
Modified
2024-12-19 08:08
Severity ?
EPSS score ?
Summary
ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T15:25:01.613Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/80c529322600dfb1f985b5e3f14c3c6f522ce154" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/b541845dfc4e7df551955e70deec0921d6b297c3" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/12b6703e9546902c56b4b9048b893ad49d62bdd4" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/16dcfde98a25340ff0f7879a16bea141d824a196" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/3cab045c99dbb9a94eb2d1d405f399916eec698a" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/feb9597e22755dce782aae26ac0590c06737e049" }, { "tags": [ "x_transferred" ], "url": "https://git.kernel.org/stable/c/5611a00697c8ecc5aad04392bea629e9d6a20463" } ], "title": "CVE Program Container" }, { "metrics": [ { "other": { "content": { "id": "CVE-2022-48810", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-09-10T16:58:34.757560Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-09-11T17:34:13.298Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "net/ipv4/ipmr.c", "net/ipv6/ip6mr.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "80c529322600dfb1f985b5e3f14c3c6f522ce154", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" }, { "lessThan": "b541845dfc4e7df551955e70deec0921d6b297c3", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" }, { "lessThan": "12b6703e9546902c56b4b9048b893ad49d62bdd4", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" }, { "lessThan": "16dcfde98a25340ff0f7879a16bea141d824a196", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" }, { "lessThan": "09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" }, { "lessThan": "3cab045c99dbb9a94eb2d1d405f399916eec698a", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" }, { "lessThan": "feb9597e22755dce782aae26ac0590c06737e049", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" }, { "lessThan": "5611a00697c8ecc5aad04392bea629e9d6a20463", "status": "affected", "version": "f243e5a7859a24d10975afb9a1708cac624ba6f1", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "net/ipv4/ipmr.c", "net/ipv6/ip6mr.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "4.0" }, { "lessThan": "4.0", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "4.9.*", "status": "unaffected", "version": "4.9.302", "versionType": "semver" }, { "lessThanOrEqual": "4.14.*", "status": "unaffected", "version": "4.14.267", "versionType": "semver" }, { "lessThanOrEqual": "4.19.*", "status": "unaffected", "version": "4.19.230", "versionType": "semver" }, { "lessThanOrEqual": "5.4.*", "status": "unaffected", "version": "5.4.180", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.101", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.24", "versionType": "semver" }, { "lessThanOrEqual": "5.16.*", "status": "unaffected", "version": "5.16.10", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "5.17", "versionType": "original_commit_for_fix" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path\n\nip[6]mr_free_table() can only be called under RTNL lock.\n\nRTNL: assertion failed at net/core/dev.c (10367)\nWARNING: CPU: 1 PID: 5890 at net/core/dev.c:10367 unregister_netdevice_many+0x1246/0x1850 net/core/dev.c:10367\nModules linked in:\nCPU: 1 PID: 5890 Comm: syz-executor.2 Not tainted 5.16.0-syzkaller-11627-g422ee58dc0ef #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011\nRIP: 0010:unregister_netdevice_many+0x1246/0x1850 net/core/dev.c:10367\nCode: 0f 85 9b ee ff ff e8 69 07 4b fa ba 7f 28 00 00 48 c7 c6 00 90 ae 8a 48 c7 c7 40 90 ae 8a c6 05 6d b1 51 06 01 e8 8c 90 d8 01 \u003c0f\u003e 0b e9 70 ee ff ff e8 3e 07 4b fa 4c 89 e7 e8 86 2a 59 fa e9 ee\nRSP: 0018:ffffc900046ff6e0 EFLAGS: 00010286\nRAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000\nRDX: ffff888050f51d00 RSI: ffffffff815fa008 RDI: fffff520008dfece\nRBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000\nR10: ffffffff815f3d6e R11: 0000000000000000 R12: 00000000fffffff4\nR13: dffffc0000000000 R14: ffffc900046ff750 R15: ffff88807b7dc000\nFS: 00007f4ab736e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000\nCS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 00007fee0b4f8990 CR3: 000000001e7d2000 CR4: 00000000003506e0\nDR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\nDR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400\nCall Trace:\n \u003cTASK\u003e\n mroute_clean_tables+0x244/0xb40 net/ipv6/ip6mr.c:1509\n ip6mr_free_table net/ipv6/ip6mr.c:389 [inline]\n ip6mr_rules_init net/ipv6/ip6mr.c:246 [inline]\n ip6mr_net_init net/ipv6/ip6mr.c:1306 [inline]\n ip6mr_net_init+0x3f0/0x4e0 net/ipv6/ip6mr.c:1298\n ops_init+0xaf/0x470 net/core/net_namespace.c:140\n setup_net+0x54f/0xbb0 net/core/net_namespace.c:331\n copy_net_ns+0x318/0x760 net/core/net_namespace.c:475\n create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110\n copy_namespaces+0x391/0x450 kernel/nsproxy.c:178\n copy_process+0x2e0c/0x7300 kernel/fork.c:2167\n kernel_clone+0xe7/0xab0 kernel/fork.c:2555\n __do_sys_clone+0xc8/0x110 kernel/fork.c:2672\n do_syscall_x64 arch/x86/entry/common.c:50 [inline]\n do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80\n entry_SYSCALL_64_after_hwframe+0x44/0xae\nRIP: 0033:0x7f4ab89f9059\nCode: Unable to access opcode bytes at RIP 0x7f4ab89f902f.\nRSP: 002b:00007f4ab736e118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038\nRAX: ffffffffffffffda RBX: 00007f4ab8b0bf60 RCX: 00007f4ab89f9059\nRDX: 0000000020000280 RSI: 0000000020000270 RDI: 0000000040200000\nRBP: 00007f4ab8a5308d R08: 0000000020000300 R09: 0000000020000300\nR10: 00000000200002c0 R11: 0000000000000206 R12: 0000000000000000\nR13: 00007ffc3977cc1f R14: 00007f4ab736e300 R15: 0000000000022000\n \u003c/TASK\u003e" } ], "providerMetadata": { "dateUpdated": "2024-12-19T08:08:10.049Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/80c529322600dfb1f985b5e3f14c3c6f522ce154" }, { "url": "https://git.kernel.org/stable/c/b541845dfc4e7df551955e70deec0921d6b297c3" }, { "url": "https://git.kernel.org/stable/c/12b6703e9546902c56b4b9048b893ad49d62bdd4" }, { "url": "https://git.kernel.org/stable/c/16dcfde98a25340ff0f7879a16bea141d824a196" }, { "url": "https://git.kernel.org/stable/c/09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51" }, { "url": "https://git.kernel.org/stable/c/3cab045c99dbb9a94eb2d1d405f399916eec698a" }, { "url": "https://git.kernel.org/stable/c/feb9597e22755dce782aae26ac0590c06737e049" }, { "url": "https://git.kernel.org/stable/c/5611a00697c8ecc5aad04392bea629e9d6a20463" } ], "title": "ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path", "x_generator": { "engine": "bippy-5f407fcff5a0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2022-48810", "datePublished": "2024-07-16T11:44:00.556Z", "dateReserved": "2024-07-16T11:38:08.897Z", "dateUpdated": "2024-12-19T08:08:10.049Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2022-48810\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-16T12:15:05.280\",\"lastModified\":\"2024-07-16T13:43:58.773\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path\\n\\nip[6]mr_free_table() can only be called under RTNL lock.\\n\\nRTNL: assertion failed at net/core/dev.c (10367)\\nWARNING: CPU: 1 PID: 5890 at net/core/dev.c:10367 unregister_netdevice_many+0x1246/0x1850 net/core/dev.c:10367\\nModules linked in:\\nCPU: 1 PID: 5890 Comm: syz-executor.2 Not tainted 5.16.0-syzkaller-11627-g422ee58dc0ef #0\\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011\\nRIP: 0010:unregister_netdevice_many+0x1246/0x1850 net/core/dev.c:10367\\nCode: 0f 85 9b ee ff ff e8 69 07 4b fa ba 7f 28 00 00 48 c7 c6 00 90 ae 8a 48 c7 c7 40 90 ae 8a c6 05 6d b1 51 06 01 e8 8c 90 d8 01 \u003c0f\u003e 0b e9 70 ee ff ff e8 3e 07 4b fa 4c 89 e7 e8 86 2a 59 fa e9 ee\\nRSP: 0018:ffffc900046ff6e0 EFLAGS: 00010286\\nRAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000\\nRDX: ffff888050f51d00 RSI: ffffffff815fa008 RDI: fffff520008dfece\\nRBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000\\nR10: ffffffff815f3d6e R11: 0000000000000000 R12: 00000000fffffff4\\nR13: dffffc0000000000 R14: ffffc900046ff750 R15: ffff88807b7dc000\\nFS: 00007f4ab736e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000\\nCS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033\\nCR2: 00007fee0b4f8990 CR3: 000000001e7d2000 CR4: 00000000003506e0\\nDR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\\nDR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400\\nCall Trace:\\n \u003cTASK\u003e\\n mroute_clean_tables+0x244/0xb40 net/ipv6/ip6mr.c:1509\\n ip6mr_free_table net/ipv6/ip6mr.c:389 [inline]\\n ip6mr_rules_init net/ipv6/ip6mr.c:246 [inline]\\n ip6mr_net_init net/ipv6/ip6mr.c:1306 [inline]\\n ip6mr_net_init+0x3f0/0x4e0 net/ipv6/ip6mr.c:1298\\n ops_init+0xaf/0x470 net/core/net_namespace.c:140\\n setup_net+0x54f/0xbb0 net/core/net_namespace.c:331\\n copy_net_ns+0x318/0x760 net/core/net_namespace.c:475\\n create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110\\n copy_namespaces+0x391/0x450 kernel/nsproxy.c:178\\n copy_process+0x2e0c/0x7300 kernel/fork.c:2167\\n kernel_clone+0xe7/0xab0 kernel/fork.c:2555\\n __do_sys_clone+0xc8/0x110 kernel/fork.c:2672\\n do_syscall_x64 arch/x86/entry/common.c:50 [inline]\\n do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80\\n entry_SYSCALL_64_after_hwframe+0x44/0xae\\nRIP: 0033:0x7f4ab89f9059\\nCode: Unable to access opcode bytes at RIP 0x7f4ab89f902f.\\nRSP: 002b:00007f4ab736e118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038\\nRAX: ffffffffffffffda RBX: 00007f4ab8b0bf60 RCX: 00007f4ab89f9059\\nRDX: 0000000020000280 RSI: 0000000020000270 RDI: 0000000040200000\\nRBP: 00007f4ab8a5308d R08: 0000000020000300 R09: 0000000020000300\\nR10: 00000000200002c0 R11: 0000000000000206 R12: 0000000000000000\\nR13: 00007ffc3977cc1f R14: 00007f4ab736e300 R15: 0000000000022000\\n \u003c/TASK\u003e\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: ipmr,ip6mr: adquiere RTNL antes de llamar a ip[6]mr_free_table() en la ruta de error. ip[6]mr_free_table() solo se puede llamar bajo el bloqueo RTNL. RTNL: error de aserci\u00f3n en net/core/dev.c (10367) ADVERTENCIA: CPU: 1 PID: 5890 en net/core/dev.c:10367 unregister_netdevice_many+0x1246/0x1850 net/core/dev.c:10367 M\u00f3dulos vinculados en : CPU: 1 PID: 5890 Comm: syz-executor.2 No contaminado 5.16.0-syzkaller-11627-g422ee58dc0ef #0 Nombre del hardware: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010: unregister_netdevice_many+0x1246/0x1850 net/core/dev.c:10367 C\u00f3digo: 0f 85 9b ee ff ff e8 69 07 4b fa ba 7f 28 00 00 48 c7 c6 00 90 ae 8a 48 c7 c7 40 90 ae 8a c6 05 reb1 51 06 01 e8 8c 90 d8 01 \u0026lt;0f\u0026gt; 0b e9 70 ee ff ff e8 3e 07 4b fa 4c 89 e7 e8 86 2a 59 fa e9 ee RSP: 0018:ffffc900046ff6e0 EFLAGS: 00010286 RAX: 000000000 RBX: 00000000000000000 RCX: 0000000000000000 RDX : ffff888050f51d00 RSI: ffffffff815fa008 RDI: fffff520008dfece RBP: 0000000000000000 R08: 00000000000000000 R09: 0000000000000000 R10: ffffffff815f3d 6e R11: 0000000000000000 R12: 00000000ffffff4 R13: dffffc0000000000 R14: ffffc900046ff750 R15: ffff88807b7dc000 FS: 00007f4ab736e700(0000) ff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fee0b4f8990 CR3: 000000001e7d2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Seguimiento de llamadas: mroute_clean_tables+0x244/0xb40 net/ipv6/ip6mr.c:1509 ip6mr_free_table net/ipv6/ip6mr.c:389 [en l\u00ednea] ip6mr_rules_init net/ipv6/ip6mr.c:246 [en l\u00ednea] ip6mr_net_init net/ipv6/ip6mr.c:1306 [en l\u00ednea] ip6mr_net_init+ 0x3f0/0x4e0 net/ipv6/ip6mr.c:1298 ops_init+0xaf/0x470 net/core/net_namespace.c:140 setup_net+0x54f/0xbb0 net/core/net_namespace.c:331 copy_net_ns+0x318/0x760 net/core/net_namespace .c:475 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x391/0x450 kernel/nsproxy.c:178 copy_process+0x2e0c/0x7300 kernel/fork.c:2167 kernel_clone+0xe7/0xab0 kernel/fork.c :2555 __do_sys_clone+0xc8/0x110 kernel/fork.c:2672 do_syscall_x64 arch/x86/entry/common.c:50 [en l\u00ednea] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 Entry_SYSCALL_64_after_hwframe+0x44/0 xae RIP: 0033:0x7f4ab89f9059 C\u00f3digo: No se puede acceder a los bytes del c\u00f3digo de operaci\u00f3n en RIP 0x7f4ab89f902f. RSP: 002b:00007f4ab736e118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f4ab8b0bf60 RCX: 00007f4ab89f9059 RDX: 0020000280 RSI: 0000000020000270 RDI: 0000000040200000 RBP: 00007f4ab8a5308d R08: 0000000020000300 R09: 0000000020000300 R10: 200002c0 R11: 0000000000000206 R12: 0000000000000000 R13: 00007ffc3977cc1f R14: 00007f4ab736e300 R15: 0000000000022000 \"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/12b6703e9546902c56b4b9048b893ad49d62bdd4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/16dcfde98a25340ff0f7879a16bea141d824a196\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3cab045c99dbb9a94eb2d1d405f399916eec698a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5611a00697c8ecc5aad04392bea629e9d6a20463\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/80c529322600dfb1f985b5e3f14c3c6f522ce154\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b541845dfc4e7df551955e70deec0921d6b297c3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/feb9597e22755dce782aae26ac0590c06737e049\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.