In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt7*-sdw: harden jackdetecthandler
Realtek headset codec drivers typically check if the card is instantiated before proceeding with the jack detection.
The rt700, rt711 and rt711-sdca are however missing a check on the card pointer, which can lead to NULL dereferences encountered in driver bind/unbind tests.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
"signature_version": "v1",
"digest": {
"function_hash": "83995116275799052998290521772468795912",
"length": 1575.0
},
"target": {
"function": "rt711_jack_detect_handler",
"file": "sound/soc/codecs/rt711.c"
},
"id": "CVE-2022-49616-0de784b3",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
"signature_version": "v1",
"digest": {
"function_hash": "98747137763391678641414363995928118822",
"length": 1381.0
},
"target": {
"function": "rt700_jack_detect_handler",
"file": "sound/soc/codecs/rt700.c"
},
"id": "CVE-2022-49616-379c6561",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
"signature_version": "v1",
"digest": {
"function_hash": "83995116275799052998290521772468795912",
"length": 1575.0
},
"target": {
"function": "rt711_jack_detect_handler",
"file": "sound/soc/codecs/rt711.c"
},
"id": "CVE-2022-49616-39670933",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
"signature_version": "v1",
"digest": {
"line_hashes": [
"49004266159708010667228372675573316207",
"153853973034915887963329866457182135529",
"238117810286002042173533541193523211369",
"225784590244471339363615935390295460240"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt711.c"
},
"id": "CVE-2022-49616-434e0dcd",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
"signature_version": "v1",
"digest": {
"function_hash": "69772533218703229417044313022553300641",
"length": 1240.0
},
"target": {
"function": "rt711_sdca_jack_detect_handler",
"file": "sound/soc/codecs/rt711-sdca.c"
},
"id": "CVE-2022-49616-51d2ccad",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
"signature_version": "v1",
"digest": {
"line_hashes": [
"49004266159708010667228372675573316207",
"153853973034915887963329866457182135529",
"27363902533998157686707936693035648255",
"70348130311923169363843647593036764703"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt711.c"
},
"id": "CVE-2022-49616-60159f9b",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
"signature_version": "v1",
"digest": {
"line_hashes": [
"200743301114884899857509902456071212741",
"153853973034915887963329866457182135529",
"3963057828244098929901296444512007631",
"85622009872710085049704989707789643548"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt711-sdca.c"
},
"id": "CVE-2022-49616-a380001f",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
"signature_version": "v1",
"digest": {
"line_hashes": [
"200743301114884899857509902456071212741",
"153853973034915887963329866457182135529",
"3963057828244098929901296444512007631",
"85622009872710085049704989707789643548"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt711-sdca.c"
},
"id": "CVE-2022-49616-add00290",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
"signature_version": "v1",
"digest": {
"function_hash": "69772533218703229417044313022553300641",
"length": 1240.0
},
"target": {
"function": "rt711_sdca_jack_detect_handler",
"file": "sound/soc/codecs/rt711-sdca.c"
},
"id": "CVE-2022-49616-b2351dbc",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
"signature_version": "v1",
"digest": {
"line_hashes": [
"200743301114884899857509902456071212741",
"153853973034915887963329866457182135529",
"3963057828244098929901296444512007631",
"85622009872710085049704989707789643548"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt711-sdca.c"
},
"id": "CVE-2022-49616-b61d4135",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
"signature_version": "v1",
"digest": {
"function_hash": "98747137763391678641414363995928118822",
"length": 1381.0
},
"target": {
"function": "rt700_jack_detect_handler",
"file": "sound/soc/codecs/rt700.c"
},
"id": "CVE-2022-49616-b9992e34",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
"signature_version": "v1",
"digest": {
"function_hash": "197880020109388445692077939138082237058",
"length": 1381.0
},
"target": {
"function": "rt711_jack_detect_handler",
"file": "sound/soc/codecs/rt711.c"
},
"id": "CVE-2022-49616-cbeba8c1",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
"signature_version": "v1",
"digest": {
"line_hashes": [
"49004266159708010667228372675573316207",
"153853973034915887963329866457182135529",
"27363902533998157686707936693035648255",
"70348130311923169363843647593036764703"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt711.c"
},
"id": "CVE-2022-49616-d36a0abf",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
"signature_version": "v1",
"digest": {
"function_hash": "98747137763391678641414363995928118822",
"length": 1381.0
},
"target": {
"function": "rt700_jack_detect_handler",
"file": "sound/soc/codecs/rt700.c"
},
"id": "CVE-2022-49616-de7122fd",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
"signature_version": "v1",
"digest": {
"line_hashes": [
"32840179547046821599782433949196481958",
"123545224414618992377639743559363394877",
"182278824716968644868166920567142195033",
"124024563675477444366236722764795621665"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt700.c"
},
"id": "CVE-2022-49616-ecbf3b43",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
"signature_version": "v1",
"digest": {
"line_hashes": [
"32840179547046821599782433949196481958",
"123545224414618992377639743559363394877",
"182278824716968644868166920567142195033",
"124024563675477444366236722764795621665"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt700.c"
},
"id": "CVE-2022-49616-f2e1bb43",
"deprecated": false,
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
"signature_version": "v1",
"digest": {
"function_hash": "69772533218703229417044313022553300641",
"length": 1240.0
},
"target": {
"function": "rt711_sdca_jack_detect_handler",
"file": "sound/soc/codecs/rt711-sdca.c"
},
"id": "CVE-2022-49616-f670bd25",
"deprecated": false,
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
"signature_version": "v1",
"digest": {
"line_hashes": [
"32840179547046821599782433949196481958",
"123545224414618992377639743559363394877",
"182278824716968644868166920567142195033",
"124024563675477444366236722764795621665"
],
"threshold": 0.9
},
"target": {
"file": "sound/soc/codecs/rt700.c"
},
"id": "CVE-2022-49616-fd82cace",
"deprecated": false,
"signature_type": "Line"
}
]