In the Linux kernel, the following vulnerability has been resolved:
ipmr,ip6mr: acquire RTNL before calling ip[6]mrfreetable() on failure path
ip[6]mrfreetable() can only be called under RTNL lock.
RTNL: assertion failed at net/core/dev.c (10367) WARNING: CPU: 1 PID: 5890 at net/core/dev.c:10367 unregisternetdevicemany+0x1246/0x1850 net/core/dev.c:10367 Modules linked in: CPU: 1 PID: 5890 Comm: syz-executor.2 Not tainted 5.16.0-syzkaller-11627-g422ee58dc0ef #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unregisternetdevicemany+0x1246/0x1850 net/core/dev.c:10367 Code: 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 <0f> 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: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888050f51d00 RSI: ffffffff815fa008 RDI: fffff520008dfece RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815f3d6e R11: 0000000000000000 R12: 00000000fffffff4 R13: dffffc0000000000 R14: ffffc900046ff750 R15: ffff88807b7dc000 FS: 00007f4ab736e700(0000) GS:ffff8880b9d00000(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 Call Trace: <TASK> mroutecleantables+0x244/0xb40 net/ipv6/ip6mr.c:1509 ip6mrfreetable net/ipv6/ip6mr.c:389 [inline] ip6mrrulesinit net/ipv6/ip6mr.c:246 [inline] ip6mrnetinit net/ipv6/ip6mr.c:1306 [inline] ip6mrnetinit+0x3f0/0x4e0 net/ipv6/ip6mr.c:1298 opsinit+0xaf/0x470 net/core/netnamespace.c:140 setupnet+0x54f/0xbb0 net/core/netnamespace.c:331 copynetns+0x318/0x760 net/core/netnamespace.c:475 createnewnamespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copynamespaces+0x391/0x450 kernel/nsproxy.c:178 copyprocess+0x2e0c/0x7300 kernel/fork.c:2167 kernelclone+0xe7/0xab0 kernel/fork.c:2555 _dosysclone+0xc8/0x110 kernel/fork.c:2672 dosyscallx64 arch/x86/entry/common.c:50 [inline] dosyscall64+0x35/0xb0 arch/x86/entry/common.c:80 entrySYSCALL64afterhwframe+0x44/0xae RIP: 0033:0x7f4ab89f9059 Code: Unable to access opcode bytes at RIP 0x7f4ab89f902f. RSP: 002b:00007f4ab736e118 EFLAGS: 00000206 ORIGRAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f4ab8b0bf60 RCX: 00007f4ab89f9059 RDX: 0000000020000280 RSI: 0000000020000270 RDI: 0000000040200000 RBP: 00007f4ab8a5308d R08: 0000000020000300 R09: 0000000020000300 R10: 00000000200002c0 R11: 0000000000000206 R12: 0000000000000000 R13: 00007ffc3977cc1f R14: 00007f4ab736e300 R15: 0000000000022000 </TASK>
[
{
"id": "CVE-2022-48810-08ab6e31",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 519.0,
"function_hash": "209211802934191696681036743015486668023"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b541845dfc4e7df551955e70deec0921d6b297c3"
},
{
"id": "CVE-2022-48810-148d2190",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80c529322600dfb1f985b5e3f14c3c6f522ce154"
},
{
"id": "CVE-2022-48810-18056d0f",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 538.0,
"function_hash": "164262074942096878620247343535511115223"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5611a00697c8ecc5aad04392bea629e9d6a20463"
},
{
"id": "CVE-2022-48810-202c4e34",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 538.0,
"function_hash": "164262074942096878620247343535511115223"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@feb9597e22755dce782aae26ac0590c06737e049"
},
{
"id": "CVE-2022-48810-2ebe66df",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12b6703e9546902c56b4b9048b893ad49d62bdd4"
},
{
"id": "CVE-2022-48810-37d27766",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80c529322600dfb1f985b5e3f14c3c6f522ce154"
},
{
"id": "CVE-2022-48810-3807c4cc",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 538.0,
"function_hash": "164262074942096878620247343535511115223"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cab045c99dbb9a94eb2d1d405f399916eec698a"
},
{
"id": "CVE-2022-48810-39c40b73",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cab045c99dbb9a94eb2d1d405f399916eec698a"
},
{
"id": "CVE-2022-48810-4793d671",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@feb9597e22755dce782aae26ac0590c06737e049"
},
{
"id": "CVE-2022-48810-5f5f4374",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b541845dfc4e7df551955e70deec0921d6b297c3"
},
{
"id": "CVE-2022-48810-61c5fd4c",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51"
},
{
"id": "CVE-2022-48810-63eb158a",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b541845dfc4e7df551955e70deec0921d6b297c3"
},
{
"id": "CVE-2022-48810-7a1a2097",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cab045c99dbb9a94eb2d1d405f399916eec698a"
},
{
"id": "CVE-2022-48810-7d3c2280",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5611a00697c8ecc5aad04392bea629e9d6a20463"
},
{
"id": "CVE-2022-48810-8393c9f6",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 538.0,
"function_hash": "164262074942096878620247343535511115223"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16dcfde98a25340ff0f7879a16bea141d824a196"
},
{
"id": "CVE-2022-48810-8badbf74",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 538.0,
"function_hash": "164262074942096878620247343535511115223"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51"
},
{
"id": "CVE-2022-48810-91b2e305",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@feb9597e22755dce782aae26ac0590c06737e049"
},
{
"id": "CVE-2022-48810-96a2cc24",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80c529322600dfb1f985b5e3f14c3c6f522ce154"
},
{
"id": "CVE-2022-48810-9de95a2d",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51"
},
{
"id": "CVE-2022-48810-ae78b953",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 538.0,
"function_hash": "164262074942096878620247343535511115223"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12b6703e9546902c56b4b9048b893ad49d62bdd4"
},
{
"id": "CVE-2022-48810-afa4a174",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12b6703e9546902c56b4b9048b893ad49d62bdd4"
},
{
"id": "CVE-2022-48810-b1c37952",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12b6703e9546902c56b4b9048b893ad49d62bdd4"
},
{
"id": "CVE-2022-48810-ba4fec32",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5611a00697c8ecc5aad04392bea629e9d6a20463"
},
{
"id": "CVE-2022-48810-bdd90196",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16dcfde98a25340ff0f7879a16bea141d824a196"
},
{
"id": "CVE-2022-48810-cc064f8a",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5611a00697c8ecc5aad04392bea629e9d6a20463"
},
{
"id": "CVE-2022-48810-cc42e682",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cab045c99dbb9a94eb2d1d405f399916eec698a"
},
{
"id": "CVE-2022-48810-e11ba8b3",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16dcfde98a25340ff0f7879a16bea141d824a196"
},
{
"id": "CVE-2022-48810-e6ad5a8a",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b541845dfc4e7df551955e70deec0921d6b297c3"
},
{
"id": "CVE-2022-48810-e9ff9454",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"259614604196391761378259821451820032516",
"269875768124507501626281661864825742709",
"334538944183454313294682796781122791860",
"143213458936525833943605788211658094733",
"78307213514460332846818939058043328774"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@feb9597e22755dce782aae26ac0590c06737e049"
},
{
"id": "CVE-2022-48810-ea0382d4",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"217500208761106427817359424194706344122",
"158781344797432700508831571322106958708",
"178239318012266624169495271866067825347",
"30479660026583773027547675986796709958",
"171996224361360120278574936369955259339"
],
"threshold": 0.9
},
"target": {
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09ac0fcb0a82d647f2c61d3d488d367b7ee5bd51"
},
{
"id": "CVE-2022-48810-ed420417",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 539.0,
"function_hash": "218794712256010223321205311608505753097"
},
"target": {
"function": "ipmr_rules_init",
"file": "net/ipv4/ipmr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16dcfde98a25340ff0f7879a16bea141d824a196"
},
{
"id": "CVE-2022-48810-fb62f7ab",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 519.0,
"function_hash": "209211802934191696681036743015486668023"
},
"target": {
"function": "ip6mr_rules_init",
"file": "net/ipv6/ip6mr.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80c529322600dfb1f985b5e3f14c3c6f522ce154"
}
]