{"id":"CVE-2022-48663","published":"2024-04-28T13:01:36Z","modified":"2026-05-11T18:44:44Z","title":"gpio: mockup: fix NULL pointer dereference when removing debugfs","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: mockup: fix NULL pointer dereference when removing debugfs\n\nWe now remove the device's debugfs entries when unbinding the driver.\nThis now causes a NULL-pointer dereference on module exit because the\nplatform devices are unregistered *after* the global debugfs directory\nhas been recursively removed. Fix it by unregistering the devices first.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00226,"percentile":0.13539,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bdea98b98f844bd8a983ca880893e509a8b4162f","tags":[]},{"url":"https://git.kernel.org/stable/c/18352095a0d581f6aeb1e9fc9d68cc0152cd64b4","tags":[]},{"url":"https://git.kernel.org/stable/c/af0bfabf06c74c260265c30ba81a34e7dec0e881","tags":[]},{"url":"https://git.kernel.org/stable/c/b7df41a6f79dfb18ba2203f8c5f0e9c0b9b57f68","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.71}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3815e66c2183f3430490e450ba16779cf5214ec6, < bdea98b98f844bd8a983ca880893e509a8b4162f",">= 3a10e8edee2b45a654f1f7b05f747129ec84cf9d, < 18352095a0d581f6aeb1e9fc9d68cc0152cd64b4",">= bc55c1677edbe86a1c66a35e800df47dff16ad61, < af0bfabf06c74c260265c30ba81a34e7dec0e881",">= 303e6da99429510b1e4edf833afe90ac8542e747, < b7df41a6f79dfb18ba2203f8c5f0e9c0b9b57f68"]},{"vendor":"Linux","product":"Linux","versions":[">= 5.10.144, < 5.10.146",">= 5.15.69, < 5.15.71",">= 5.19.10, < 5.19.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:45:58.565669Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-51358","exploited":false,"provenance":"source"}}