In the Linux kernel, the following vulnerability has been resolved:
gpio: grgpio: Add NULL check in grgpio_probe
devmkasprintf() can return a NULL pointer on failure,but this returned value in grgpioprobe is not checked. Add NULL check in grgpio_probe, to handle kernel NULL pointer dereference error.
[ { "deprecated": false, "digest": { "line_hashes": [ "150704255407891097477640097248142901592", "89888516429999851879221743980344336419", "121216097489988447959427353100948078138", "38424459508466559418239568535790025481" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "drivers/gpio/gpio-grgpio.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d2ca6ac3711a4f4015d26b7cc84f325ac608edb", "id": "CVE-2024-56634-05ff8336", "signature_version": "v1" }, { "deprecated": false, "digest": { "length": 2119.0, "function_hash": "17572349834051471769520530773817143370" }, "signature_type": "Function", "target": { "file": "drivers/gpio/gpio-grgpio.c", "function": "grgpio_probe" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4733f68e59bb7b9e3d395699abb18366954b9ba7", "id": "CVE-2024-56634-2d23236f", "signature_version": "v1" }, { "deprecated": false, "digest": { "length": 2119.0, "function_hash": "17572349834051471769520530773817143370" }, "signature_type": "Function", "target": { "file": "drivers/gpio/gpio-grgpio.c", "function": "grgpio_probe" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53ff0caa6ad57372d426b4f48fc0f66df43a731f", "id": "CVE-2024-56634-392536df", "signature_version": "v1" }, { "deprecated": false, "digest": { "length": 2117.0, "function_hash": "207882118777650647529115329598066459879" }, "signature_type": "Function", "target": { "file": "drivers/gpio/gpio-grgpio.c", "function": "grgpio_probe" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@050b23d081da0f29474de043e9538c1f7a351b3b", "id": "CVE-2024-56634-3c42b515", "signature_version": "v1" }, { "deprecated": false, "digest": { "length": 2096.0, "function_hash": "225979522411409511802019750980138064142" }, "signature_type": "Function", "target": { "file": "drivers/gpio/gpio-grgpio.c", "function": "grgpio_probe" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d2ca6ac3711a4f4015d26b7cc84f325ac608edb", "id": "CVE-2024-56634-4f1185b6", "signature_version": "v1" }, { "deprecated": false, "digest": { "length": 2119.0, "function_hash": "17572349834051471769520530773817143370" }, "signature_type": "Function", "target": { "file": "drivers/gpio/gpio-grgpio.c", "function": "grgpio_probe" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a", "id": "CVE-2024-56634-4ff9902a", "signature_version": "v1" }, { "deprecated": false, "digest": { "length": 2096.0, "function_hash": "225979522411409511802019750980138064142" }, "signature_type": "Function", "target": { "file": "drivers/gpio/gpio-grgpio.c", "function": "grgpio_probe" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09adf8792b61c09ae543972a1ece1884ef773848", "id": "CVE-2024-56634-5f756942", "signature_version": "v1" }, { "deprecated": false, "digest": { "length": 2096.0, "function_hash": "225979522411409511802019750980138064142" }, "signature_type": "Function", "target": { "file": "drivers/gpio/gpio-grgpio.c", "function": "grgpio_probe" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db2fc255fcf41f536ac8666409849e11659af88d", "id": "CVE-2024-56634-638249e4", "signature_version": "v1" }, { "deprecated": false, "digest": { "line_hashes": [ "136607260505903489205019804823127517562", "89888516429999851879221743980344336419", "121216097489988447959427353100948078138", "38424459508466559418239568535790025481" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "drivers/gpio/gpio-grgpio.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a", "id": "CVE-2024-56634-6da90572", "signature_version": "v1" }, { "deprecated": false, "digest": { "line_hashes": [ "150704255407891097477640097248142901592", "89888516429999851879221743980344336419", "121216097489988447959427353100948078138", "38424459508466559418239568535790025481" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "drivers/gpio/gpio-grgpio.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@050b23d081da0f29474de043e9538c1f7a351b3b", "id": "CVE-2024-56634-7342935b", "signature_version": "v1" }, { "deprecated": false, "digest": { "line_hashes": [ "150704255407891097477640097248142901592", "89888516429999851879221743980344336419", "121216097489988447959427353100948078138", "38424459508466559418239568535790025481" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "drivers/gpio/gpio-grgpio.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db2fc255fcf41f536ac8666409849e11659af88d", "id": "CVE-2024-56634-86185c0f", "signature_version": "v1" }, { "deprecated": false, "digest": { "line_hashes": [ "150704255407891097477640097248142901592", "89888516429999851879221743980344336419", "121216097489988447959427353100948078138", "38424459508466559418239568535790025481" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "drivers/gpio/gpio-grgpio.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09adf8792b61c09ae543972a1ece1884ef773848", "id": "CVE-2024-56634-b016d0c0", "signature_version": "v1" }, { "deprecated": false, "digest": { "line_hashes": [ "136607260505903489205019804823127517562", "89888516429999851879221743980344336419", "121216097489988447959427353100948078138", "38424459508466559418239568535790025481" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "drivers/gpio/gpio-grgpio.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4733f68e59bb7b9e3d395699abb18366954b9ba7", "id": "CVE-2024-56634-b948a851", "signature_version": "v1" }, { "deprecated": false, "digest": { "line_hashes": [ "136607260505903489205019804823127517562", "89888516429999851879221743980344336419", "121216097489988447959427353100948078138", "38424459508466559418239568535790025481" ], "threshold": 0.9 }, "signature_type": "Line", "target": { "file": "drivers/gpio/gpio-grgpio.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53ff0caa6ad57372d426b4f48fc0f66df43a731f", "id": "CVE-2024-56634-c556cec4", "signature_version": "v1" } ]