The compat IPTSOSETREPLACE and IP6TSOSETREPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container root access to provide a crafted offset value that triggers an unintended decrement.
[
{
"deprecated": false,
"target": {
"function": "check_entry_size_and_hooks",
"file": "net/ipv4/netfilter/arp_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "41767836476836007819461279751654817008",
"length": 1379.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-1467d946",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_compat_entry_size_and_hooks",
"file": "net/ipv4/netfilter/arp_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "136370962088746794401398518599024152834",
"length": 1922.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-36d7dafe",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_compat_entry_size_and_hooks",
"file": "net/ipv4/netfilter/ip_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "28612033471745748684248055425469814859",
"length": 2214.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-66c9d9e9",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "net/ipv6/netfilter/ip6_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144062612095200152746247659180024722619",
"265566605627122148834269436066243147155",
"117634030484256748814766713028864219656",
"229885981761814855841554375818511402587",
"231239520698111836232501952916151572578",
"265648236767025647688520211141903936794",
"135914827900384441740610414651031667229",
"33034291009650255305253031242462913904"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-840488c1",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_compat_entry_size_and_hooks",
"file": "net/ipv6/netfilter/ip6_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "43057856678977997686061183233017703787",
"length": 2219.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-8ce169fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "xt_compat_check_entry_offsets",
"file": "net/netfilter/x_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "55915591622527654429581994118980622005",
"length": 496.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-90a3188b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_entry_size_and_hooks",
"file": "net/ipv6/netfilter/ip6_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "331964536306126191563063421475230704223",
"length": 1374.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-95b01602",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "net/ipv4/netfilter/arp_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278040958733480832011241131676379012517",
"189002404897469022302425814927173743407",
"117634030484256748814766713028864219656",
"340260515548180235060192641728556001092",
"70724852082743994265342964123159585368",
"92736654989745318201786550814857228410",
"135914827900384441740610414651031667229",
"33034291009650255305253031242462913904"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-e6a7c33a",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "net/netfilter/x_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"141322019113069479288500292153238169446",
"253175985683389118814570327115823290366",
"264197198013438131044075189240272780547",
"189620695005823367432489555691374382285",
"301234293348104619368281137863430809960",
"149634458338802598513797827469076362678",
"15043630909281032334483743739193171756",
"20590341000639542994999469901955235164",
"233906855014108487673183761415814952180",
"209427607597945852417612339225966870705",
"201975316035170239755030266254907240790",
"71246262484623334905889813895175745793",
"190158190591276614056316759027486630851",
"201987356933782236945379155731941292967",
"311689926704697411484996929301113864197",
"68809319683966213997622503013229281462",
"309175303832705513772800044145519560816",
"233906855014108487673183761415814952180"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-e8b7ac9c",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "include/linux/netfilter/x_tables.h"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"340108523109663006473165135113588981844",
"327388335665241720942006854930615131151",
"286767339946975647241987747984907737794",
"51644051374127839741985251485651437997",
"69096660410577448368226263096591223064",
"180133693706307410694763609698793480747",
"54324086733944369410360412811771352456",
"278370410766363758444539017404086494542"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-ed347399",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_entry_size_and_hooks",
"file": "net/ipv4/netfilter/ip_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "192625401430051969086563426001034955598",
"length": 1372.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-ed64bc65",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "net/ipv4/netfilter/ip_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"247354042977242249979833779967582197356",
"111123486583743534889812769957281301159",
"117634030484256748814766713028864219656",
"229885981761814855841554375818511402587",
"69079956565725582955759723862532575064",
"242599029464890871916146666433217574833",
"135914827900384441740610414651031667229",
"33034291009650255305253031242462913904"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-f8be7918",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "xt_check_entry_offsets",
"file": "net/netfilter/x_tables.c"
},
"source": "https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "55915591622527654429581994118980622005",
"length": 496.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-fd16a064",
"signature_version": "v1"
}
]
[
{
"deprecated": false,
"target": {
"file": "net/netfilter/x_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"141322019113069479288500292153238169446",
"253175985683389118814570327115823290366",
"264197198013438131044075189240272780547",
"189620695005823367432489555691374382285",
"301234293348104619368281137863430809960",
"149634458338802598513797827469076362678",
"15043630909281032334483743739193171756",
"20590341000639542994999469901955235164",
"233906855014108487673183761415814952180",
"209427607597945852417612339225966870705",
"201975316035170239755030266254907240790",
"71246262484623334905889813895175745793",
"190158190591276614056316759027486630851",
"201987356933782236945379155731941292967",
"311689926704697411484996929301113864197",
"68809319683966213997622503013229281462",
"309175303832705513772800044145519560816",
"233906855014108487673183761415814952180"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-0acca656",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "net/ipv4/netfilter/ip_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"247354042977242249979833779967582197356",
"111123486583743534889812769957281301159",
"117634030484256748814766713028864219656",
"229885981761814855841554375818511402587",
"69079956565725582955759723862532575064",
"242599029464890871916146666433217574833",
"135914827900384441740610414651031667229",
"33034291009650255305253031242462913904"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-1f925171",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_entry_size_and_hooks",
"file": "net/ipv6/netfilter/ip6_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "331964536306126191563063421475230704223",
"length": 1374.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-3f342527",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_compat_entry_size_and_hooks",
"file": "net/ipv4/netfilter/arp_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "136370962088746794401398518599024152834",
"length": 1922.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-3f9cfc3c",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "xt_check_entry_offsets",
"file": "net/netfilter/x_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "55915591622527654429581994118980622005",
"length": 496.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-405a2774",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_compat_entry_size_and_hooks",
"file": "net/ipv4/netfilter/ip_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "28612033471745748684248055425469814859",
"length": 2214.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-566e832b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_entry_size_and_hooks",
"file": "net/ipv4/netfilter/arp_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "41767836476836007819461279751654817008",
"length": 1379.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-5cc8c7ce",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "net/ipv6/netfilter/ip6_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144062612095200152746247659180024722619",
"265566605627122148834269436066243147155",
"117634030484256748814766713028864219656",
"229885981761814855841554375818511402587",
"231239520698111836232501952916151572578",
"265648236767025647688520211141903936794",
"135914827900384441740610414651031667229",
"33034291009650255305253031242462913904"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-7a4b3524",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "include/linux/netfilter/x_tables.h"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"340108523109663006473165135113588981844",
"327388335665241720942006854930615131151",
"286767339946975647241987747984907737794",
"51644051374127839741985251485651437997",
"69096660410577448368226263096591223064",
"180133693706307410694763609698793480747",
"54324086733944369410360412811771352456",
"278370410766363758444539017404086494542"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-8198162b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_compat_entry_size_and_hooks",
"file": "net/ipv6/netfilter/ip6_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "43057856678977997686061183233017703787",
"length": 2219.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-a913fd2c",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "net/ipv4/netfilter/arp_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278040958733480832011241131676379012517",
"189002404897469022302425814927173743407",
"117634030484256748814766713028864219656",
"340260515548180235060192641728556001092",
"70724852082743994265342964123159585368",
"92736654989745318201786550814857228410",
"135914827900384441740610414651031667229",
"33034291009650255305253031242462913904"
]
},
"signature_type": "Line",
"id": "CVE-2016-4997-e4d1ccb2",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "xt_compat_check_entry_offsets",
"file": "net/netfilter/x_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "55915591622527654429581994118980622005",
"length": 496.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-e539b396",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"function": "check_entry_size_and_hooks",
"file": "net/ipv4/netfilter/ip_tables.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ce683e5f9d045e5d67d1312a42b359cb2ab2a13c",
"digest": {
"function_hash": "192625401430051969086563426001034955598",
"length": 1372.0
},
"signature_type": "Function",
"id": "CVE-2016-4997-fe8fa405",
"signature_version": "v1"
}
]