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.
{ "vanir_signatures": [ { "id": "CVE-2022-48787-40a97f16", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@008508c16af0087cda0394e1ac6f0493b01b6063", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "145279440783943162133197565883309616137", "138356238631684325228373177580261034368", "206890851670976672557082084736350832952", "72486169656087606520356401496821237730" ] }, "signature_version": "v1", "deprecated": false, "signature_type": "Line" }, { "id": "CVE-2022-48787-45bdaa32", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ddd46059f7d99119b62d44c519df7a79f2e6a515", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c", "function": "iwl_req_fw_callback" }, "digest": { "function_hash": "330071875447870180122267702306724425311", "length": 6399.0 }, "signature_version": "v1", "deprecated": false, "signature_type": "Function" }, { "id": "CVE-2022-48787-4782cbf5", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bea2662e7818e15d7607d17d57912ac984275d94", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c", "function": "iwl_req_fw_callback" }, "digest": { "function_hash": "330071875447870180122267702306724425311", "length": 6399.0 }, "signature_version": "v1", "deprecated": false, "signature_type": "Function" }, { "id": "CVE-2022-48787-5afdeb82", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d6475179b85a83186ccce59cdc359d4f07d0bcb", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "145279440783943162133197565883309616137", "138356238631684325228373177580261034368", "206890851670976672557082084736350832952", "72486169656087606520356401496821237730" ] }, "signature_version": "v1", "deprecated": false, "signature_type": "Line" }, { "id": "CVE-2022-48787-67934bce", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9958b9cbb22145295ee1ffaea0904c383da2c05d", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c", "function": "iwl_req_fw_callback" }, "digest": { "function_hash": "330071875447870180122267702306724425311", "length": 6399.0 }, "signature_version": "v1", "deprecated": false, "signature_type": "Function" }, { "id": "CVE-2022-48787-6b8ebc0f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@494de920d98f125b099f27a2d274850750aff957", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c", "function": "iwl_req_fw_callback" }, "digest": { "function_hash": "104900081527877638031898786328084491386", "length": 6268.0 }, "signature_version": "v1", "deprecated": false, "signature_type": "Function" }, { "id": "CVE-2022-48787-9dabc727", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9958b9cbb22145295ee1ffaea0904c383da2c05d", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "145279440783943162133197565883309616137", "138356238631684325228373177580261034368", "206890851670976672557082084736350832952", "72486169656087606520356401496821237730" ] }, "signature_version": "v1", "deprecated": false, "signature_type": "Line" }, { "id": "CVE-2022-48787-ac3978e2", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ddd46059f7d99119b62d44c519df7a79f2e6a515", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "145279440783943162133197565883309616137", "138356238631684325228373177580261034368", "206890851670976672557082084736350832952", "72486169656087606520356401496821237730" ] }, "signature_version": "v1", "deprecated": false, "signature_type": "Line" }, { "id": "CVE-2022-48787-c14ed9c7", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@494de920d98f125b099f27a2d274850750aff957", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "145279440783943162133197565883309616137", "138356238631684325228373177580261034368", "206890851670976672557082084736350832952", "72486169656087606520356401496821237730" ] }, "signature_version": "v1", "deprecated": false, "signature_type": "Line" }, { "id": "CVE-2022-48787-caadad5f", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d6475179b85a83186ccce59cdc359d4f07d0bcb", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c", "function": "iwl_req_fw_callback" }, "digest": { "function_hash": "331333740664951336865007966227734608027", "length": 6343.0 }, "signature_version": "v1", "deprecated": false, "signature_type": "Function" }, { "id": "CVE-2022-48787-cd627ca6", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3b98fe36f8a06ce654049540773256ab59cb53d", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "145279440783943162133197565883309616137", "138356238631684325228373177580261034368", "206890851670976672557082084736350832952", "72486169656087606520356401496821237730" ] }, "signature_version": "v1", "deprecated": false, "signature_type": "Line" }, { "id": "CVE-2022-48787-d90c080b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bea2662e7818e15d7607d17d57912ac984275d94", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "145279440783943162133197565883309616137", "138356238631684325228373177580261034368", "206890851670976672557082084736350832952", "72486169656087606520356401496821237730" ] }, "signature_version": "v1", "deprecated": false, "signature_type": "Line" }, { "id": "CVE-2022-48787-dad4b924", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@008508c16af0087cda0394e1ac6f0493b01b6063", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c", "function": "iwl_req_fw_callback" }, "digest": { "function_hash": "322659323425070067116579912965542283461", "length": 6385.0 }, "signature_version": "v1", "deprecated": false, "signature_type": "Function" }, { "id": "CVE-2022-48787-f7260af5", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3b98fe36f8a06ce654049540773256ab59cb53d", "target": { "file": "drivers/net/wireless/intel/iwlwifi/iwl-drv.c", "function": "iwl_req_fw_callback" }, "digest": { "function_hash": "85904273387367153071923845346253196276", "length": 5536.0 }, "signature_version": "v1", "deprecated": false, "signature_type": "Function" } ] }