{"id":"CVE-2022-48908","aliases":["CVE-2022-48908"],"related":[],"kind":"vulnerability","state":"published","title":"net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()\n\nDuring driver initialization, the pointer of card info, i.e. the\nvariable 'ci' is required. However, the definition of\n'com20020pci_id_table' reveals that this field is empty for some\ndevices, which will cause null pointer dereference when initializing\nthese devices.\n\nThe following log reveals it:\n\n[    3.973806] KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]\n[    3.973819] RIP: 0010:com20020pci_probe+0x18d/0x13e0 [com20020_pci]\n[    3.975181] Call Trace:\n[    3.976208]  local_pci_probe+0x13f/0x210\n[    3.977248]  pci_device_probe+0x34c/0x6d0\n[    3.977255]  ? pci_uevent+0x470/0x470\n[    3.978265]  really_probe+0x24c/0x8d0\n[    3.978273]  __driver_probe_device+0x1b3/0x280\n[    3.979288]  driver_probe_device+0x50/0x370\n\nFix this by checking whether the 'ci' is a null pointer first.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()\n\nDuring driver initialization, the pointer of card info, i.e. the\nvariable 'ci' is required. However, the definition of\n'com20020pci_id_table' reveals that this field is empty for some\ndevices, which will cause null pointer dereference when initializing\nthese devices.\n\nThe following log reveals it:\n\n[    3.973806] KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]\n[    3.973819] RIP: 0010:com20020pci_probe+0x18d/0x13e0 [com20020_pci]\n[    3.975181] Call Trace:\n[    3.976208]  local_pci_probe+0x13f/0x210\n[    3.977248]  pci_device_probe+0x34c/0x6d0\n[    3.977255]  ? pci_uevent+0x470/0x470\n[    3.978265]  really_probe+0x24c/0x8d0\n[    3.978273]  __driver_probe_device+0x1b3/0x280\n[    3.979288]  driver_probe_device+0x50/0x370\n\nFix this by checking whether the 'ci' is a null pointer first.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: arcnet: com20020: corrija null-ptr-deref en com20020pci_probe() Durante la inicialización del controlador, se requiere el puntero de información de la tarjeta, es decir, la variable 'ci'. Sin embargo, la definición de 'com20020pci_id_table' revela que este campo está vacío para algunos dispositivos, lo que provocará una desreferencia del puntero nulo al inicializar estos dispositivos. El siguiente registro lo revela: [3.973806] KASAN: null-ptr-deref en el rango [0x0000000000000028-0x000000000000002f] [3.973819] RIP: 0010:com20020pci_probe+0x18d/0x13e0 [com20020_p ci] [3.975181] Seguimiento de llamadas: [3.976208] local_pci_probe+0x13f /0x210 [3.977248] pci_device_probe+0x34c/0x6d0 [3.977255]? pci_uevent+0x470/0x470 [3.978265] very_probe+0x24c/0x8d0 [3.978273] __driver_probe_device+0x1b3/0x280 [3.979288] driver_probe_device+0x50/0x370 Solucione este problema comprobando primero si el 'ci' es un puntero nulo.","source":"nvd"}],"published":"2024-08-22T01:30:49.441Z","modified":"2026-06-17T05:16:34.930Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"8e3bc7c5bbf87e86e9cd652ca2a9166942d86206","status":"affected"},{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"b1ee6b9340a38bdb9e5c90f0eac5b22b122c3049","status":"affected"},{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"b838add93e1dd98210482dc433768daaf752bdef","status":"affected"},{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"e50c589678e50f8d574612e473ca60ef45190896","status":"affected"},{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"5f394102ee27dbf051a4e283390cd8d1759dacea","status":"affected"},{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"ea372aab54903310756217d81610901a8e66cb7d","status":"affected"},{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"ca0bdff4249a644f2ca7a49d410d95b8dacf1f72","status":"affected"},{"type":"git","introduced":"8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f","fixed":"bd6f1fd5d33dfe5d1b4f2502d3694a7cc13f166d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.18","status":"unaffected"},{"type":"semver","introduced":"4.9.305","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.270","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.233","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.183","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.104","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.27","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.13","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.18","fixed":"4.9.305"},{"status":"affected","introduced":"4.10","fixed":"4.14.270"},{"status":"affected","introduced":"4.15","fixed":"4.19.233"},{"status":"affected","introduced":"4.20","fixed":"5.4.183"},{"status":"affected","introduced":"5.5","fixed":"5.10.104"},{"status":"affected","introduced":"5.11","fixed":"5.15.27"},{"status":"affected","introduced":"5.16","fixed":"5.16.13"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8e3bc7c5bbf87e86e9cd652ca2a9166942d86206","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1ee6b9340a38bdb9e5c90f0eac5b22b122c3049","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b838add93e1dd98210482dc433768daaf752bdef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e50c589678e50f8d574612e473ca60ef45190896","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f394102ee27dbf051a4e283390cd8d1759dacea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea372aab54903310756217d81610901a8e66cb7d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca0bdff4249a644f2ca7a49d410d95b8dacf1f72","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd6f1fd5d33dfe5d1b4f2502d3694a7cc13f166d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:34:10.946Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48908","url":"https://www.cve.org/CVERecord?id=CVE-2022-48908","licence":"CVE Terms of Use","modified":"2026-05-11T18:49:29.700Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48908","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48908","licence":"Public domain","modified":"2026-06-17T05:16:34.930Z"}],"updatedAt":"2026-11-25T22:58:19.955Z","epss":{"score":0.0021,"percentile":0.11876,"date":"2026-12-01T12:00:22.000Z"}}