In the Linux kernel, the following vulnerability has been resolved:
net: phy: micrel: Allow probing without .driver_data
Currently, if the .probe element is present in the phydriver structure and the .driverdata is not, a NULL pointer dereference happens.
Allow passing .probe without .driver_data by inserting NULL checks for priv->type.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abb5594ae2ba7b82cce85917cc6337ec5d774837",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-0240011b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@143878e18001c5a61fcc7ae5c5240323753bb641",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-05d0ff50",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f2ef6f7539c68c6bd6c32323d8845ee102b7c450",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-0e6d280a",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f2ef6f7539c68c6bd6c32323d8845ee102b7c450",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-116dd095",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd219273b4e004a3f853da72e111fc8f81357501",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-1d29d85d",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91e720b32cba25fa58eaa4c88fe957009cffe9f3",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-1df6c1e8",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@143878e18001c5a61fcc7ae5c5240323753bb641",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-22012ff5",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd219273b4e004a3f853da72e111fc8f81357501",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-32a87ec5",
"signature_type": "Function",
"digest": {
"length": 1330.0,
"function_hash": "69597084264660296406531454977608622489"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91e720b32cba25fa58eaa4c88fe957009cffe9f3",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-38466d78",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@660dfa033ccc9afb032015b6dc76e846bba42cfb",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-3de6e4a1",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@660dfa033ccc9afb032015b6dc76e846bba42cfb",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-3ff03126",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dcb404662839a4ed1a9703658fee979eb894ca4",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-4745fb12",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@143878e18001c5a61fcc7ae5c5240323753bb641",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-57646b88",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e5fbfc2a6f384e3195446c14bbd3bc298eb88c2",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-67b347c6",
"signature_type": "Function",
"digest": {
"length": 1275.0,
"function_hash": "293318469894369104747572096182562991896"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd219273b4e004a3f853da72e111fc8f81357501",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-6a332a56",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e5fbfc2a6f384e3195446c14bbd3bc298eb88c2",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-72eddf93",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e5fbfc2a6f384e3195446c14bbd3bc298eb88c2",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-7599655d",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f2ef6f7539c68c6bd6c32323d8845ee102b7c450",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-82dd798c",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abb5594ae2ba7b82cce85917cc6337ec5d774837",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-83749711",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abb5594ae2ba7b82cce85917cc6337ec5d774837",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-83e1ac50",
"signature_type": "Function",
"digest": {
"length": 1330.0,
"function_hash": "69597084264660296406531454977608622489"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91e720b32cba25fa58eaa4c88fe957009cffe9f3",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-843d1353",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@660dfa033ccc9afb032015b6dc76e846bba42cfb",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-8667e657",
"signature_type": "Function",
"digest": {
"length": 1330.0,
"function_hash": "69597084264660296406531454977608622489"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dcb404662839a4ed1a9703658fee979eb894ca4",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-867c3ea3",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@660dfa033ccc9afb032015b6dc76e846bba42cfb",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-97cc4e49",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@abb5594ae2ba7b82cce85917cc6337ec5d774837",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-9b8f6f71",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dcb404662839a4ed1a9703658fee979eb894ca4",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-aa536744",
"signature_type": "Function",
"digest": {
"length": 1275.0,
"function_hash": "293318469894369104747572096182562991896"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd219273b4e004a3f853da72e111fc8f81357501",
"target": {
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-aafeea7b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"135978746466876080104702012410296436426",
"179587162837745360958313239334294403547",
"151913339518074614614319035597479186962",
"135715701320574592893021775995638036854",
"106994189092122209658770026149551579170",
"29548390713491368344842869169093234949",
"184092681983771986836096161732879946915",
"28010890324977484804992094216695705062",
"255104241540093812549490200864296220944",
"218095771601973792819729781395641151387",
"8950306381534271583121000631748933132",
"32152460075991645326436775955808807007",
"62858507408151955116052541147642224296",
"72070537680797305597882971106363597848",
"79117551337350078744339702952552760976",
"76174283887864799721120598987611686751",
"74496399408228377420356667650493805708",
"144247471305165835961273334503444307142"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7dcb404662839a4ed1a9703658fee979eb894ca4",
"target": {
"function": "kszphy_config_reset",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-b94130d5",
"signature_type": "Function",
"digest": {
"length": 374.0,
"function_hash": "123353130943332149310254356927051330067"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91e720b32cba25fa58eaa4c88fe957009cffe9f3",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-bb5624ba",
"signature_type": "Function",
"digest": {
"length": 1275.0,
"function_hash": "293318469894369104747572096182562991896"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e5fbfc2a6f384e3195446c14bbd3bc298eb88c2",
"target": {
"function": "kszphy_config_init",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-da4dfafb",
"signature_type": "Function",
"digest": {
"length": 277.0,
"function_hash": "52413497833850127530346571609157367393"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f2ef6f7539c68c6bd6c32323d8845ee102b7c450",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-f746b688",
"signature_type": "Function",
"digest": {
"length": 1330.0,
"function_hash": "69597084264660296406531454977608622489"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@143878e18001c5a61fcc7ae5c5240323753bb641",
"target": {
"function": "kszphy_probe",
"file": "drivers/net/phy/micrel.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49472-f8b8b197",
"signature_type": "Function",
"digest": {
"length": 1330.0,
"function_hash": "69597084264660296406531454977608622489"
}
}
]