In the Linux kernel, the following vulnerability has been resolved:
iwlwifi: fix use-after-free
If no firmware was present at all (or, presumably, all of the firmware files failed to parse), we end up unbinding by calling devicereleasedriver(), which calls remove(), which then in iwlwifi calls iwldrvstop(), freeing the 'drv' struct. However the new code I added will still erroneously access it after it was freed.
Set 'failure=false' in this case to avoid the access, all data was already freed anyway.
[
{
"id": "CVE-2022-48787-40a97f16",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@008508c16af0087cda0394e1ac6f0493b01b6063",
"digest": {
"line_hashes": [
"145279440783943162133197565883309616137",
"138356238631684325228373177580261034368",
"206890851670976672557082084736350832952",
"72486169656087606520356401496821237730"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-48787-45bdaa32",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "iwl_req_fw_callback",
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ddd46059f7d99119b62d44c519df7a79f2e6a515",
"digest": {
"length": 6399.0,
"function_hash": "330071875447870180122267702306724425311"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-48787-4782cbf5",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "iwl_req_fw_callback",
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bea2662e7818e15d7607d17d57912ac984275d94",
"digest": {
"length": 6399.0,
"function_hash": "330071875447870180122267702306724425311"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-48787-5afdeb82",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d6475179b85a83186ccce59cdc359d4f07d0bcb",
"digest": {
"line_hashes": [
"145279440783943162133197565883309616137",
"138356238631684325228373177580261034368",
"206890851670976672557082084736350832952",
"72486169656087606520356401496821237730"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-48787-67934bce",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "iwl_req_fw_callback",
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9958b9cbb22145295ee1ffaea0904c383da2c05d",
"digest": {
"length": 6399.0,
"function_hash": "330071875447870180122267702306724425311"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-48787-6b8ebc0f",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "iwl_req_fw_callback",
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@494de920d98f125b099f27a2d274850750aff957",
"digest": {
"length": 6268.0,
"function_hash": "104900081527877638031898786328084491386"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-48787-9dabc727",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9958b9cbb22145295ee1ffaea0904c383da2c05d",
"digest": {
"line_hashes": [
"145279440783943162133197565883309616137",
"138356238631684325228373177580261034368",
"206890851670976672557082084736350832952",
"72486169656087606520356401496821237730"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-48787-ac3978e2",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ddd46059f7d99119b62d44c519df7a79f2e6a515",
"digest": {
"line_hashes": [
"145279440783943162133197565883309616137",
"138356238631684325228373177580261034368",
"206890851670976672557082084736350832952",
"72486169656087606520356401496821237730"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-48787-c14ed9c7",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@494de920d98f125b099f27a2d274850750aff957",
"digest": {
"line_hashes": [
"145279440783943162133197565883309616137",
"138356238631684325228373177580261034368",
"206890851670976672557082084736350832952",
"72486169656087606520356401496821237730"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-48787-caadad5f",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "iwl_req_fw_callback",
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d6475179b85a83186ccce59cdc359d4f07d0bcb",
"digest": {
"length": 6343.0,
"function_hash": "331333740664951336865007966227734608027"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-48787-cd627ca6",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3b98fe36f8a06ce654049540773256ab59cb53d",
"digest": {
"line_hashes": [
"145279440783943162133197565883309616137",
"138356238631684325228373177580261034368",
"206890851670976672557082084736350832952",
"72486169656087606520356401496821237730"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-48787-d90c080b",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bea2662e7818e15d7607d17d57912ac984275d94",
"digest": {
"line_hashes": [
"145279440783943162133197565883309616137",
"138356238631684325228373177580261034368",
"206890851670976672557082084736350832952",
"72486169656087606520356401496821237730"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-48787-dad4b924",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "iwl_req_fw_callback",
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@008508c16af0087cda0394e1ac6f0493b01b6063",
"digest": {
"length": 6385.0,
"function_hash": "322659323425070067116579912965542283461"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-48787-f7260af5",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "iwl_req_fw_callback",
"file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3b98fe36f8a06ce654049540773256ab59cb53d",
"digest": {
"length": 5536.0,
"function_hash": "85904273387367153071923845346253196276"
},
"signature_type": "Function"
}
]