In the Linux kernel, the following vulnerability has been resolved:
dm stats: check for and propagate alloc_percpu failure
Check allocprecpu()'s return value and return an error from dmstatsinit() if it fails. Update allocdev() to fail if dmstatsinit() does.
Otherwise, a NULL pointer dereference will occur in dmstatscleanup() even if dm-stats isn't being actively used.
[
{
"id": "CVE-2023-53044-05948d57",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d96bd507ed7e7d565b6d53ebd3874686f123b2e",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"273051493363259905969403490307347994637"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-121859bc",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2287d7b721471a3d58bcd829250336e3cdf1635e",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"251334763122629012013304595426236085705",
"155509014588534044528960042462337015277",
"242244956285346869944725120821016643473",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-308430da",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a32a9a818a895671bd43e0c40351e60e4e9140b",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"273051493363259905969403490307347994637"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-34a41bb4",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2287d7b721471a3d58bcd829250336e3cdf1635e",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"152958207643075788628240609743641913713",
"151243005778288898348124815786330049816",
"329726838595315926140897597890345751886",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-3cc5fbe8",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@443c9d522397511a4328dc2ec3c9c63c73049756",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"102731048969840349072296413935483517016",
"330390925542748040760509962274082702531",
"209101056592303648476971913110047113030",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-513008f4",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d96bd507ed7e7d565b6d53ebd3874686f123b2e",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"152958207643075788628240609743641913713",
"151243005778288898348124815786330049816",
"329726838595315926140897597890345751886",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-5297eaf9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b66e36a3efd24041b7374432bfa4dec2ff01e95",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 349.0,
"function_hash": "246460652287190827550735916846009102299"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-52bd2cd1",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@443c9d522397511a4328dc2ec3c9c63c73049756",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 349.0,
"function_hash": "246460652287190827550735916846009102299"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-549714dd",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c68f08cc745675a17894e1b4a5b5b9700ace6da4",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"251334763122629012013304595426236085705",
"155509014588534044528960042462337015277",
"242244956285346869944725120821016643473",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-54b37ad1",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a32a9a818a895671bd43e0c40351e60e4e9140b",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 311.0,
"function_hash": "307490276073081464562879160849538321969"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-5aca24b8",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3aa3e060c4a80827eb801fc448debc9daa7c46b",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"102731048969840349072296413935483517016",
"330390925542748040760509962274082702531",
"209101056592303648476971913110047113030",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-5ffa33ef",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b66e36a3efd24041b7374432bfa4dec2ff01e95",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2628.0,
"function_hash": "226169383750789102853382084270320803685"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-63136e1d",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a42180dd361584816bfe15c137b665699b994d90",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2628.0,
"function_hash": "226169383750789102853382084270320803685"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-664961b9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c68f08cc745675a17894e1b4a5b5b9700ace6da4",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 311.0,
"function_hash": "307490276073081464562879160849538321969"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-6a673aa8",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3aa3e060c4a80827eb801fc448debc9daa7c46b",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2628.0,
"function_hash": "226169383750789102853382084270320803685"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-6c5dd328",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a42180dd361584816bfe15c137b665699b994d90",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"102731048969840349072296413935483517016",
"330390925542748040760509962274082702531",
"209101056592303648476971913110047113030",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-816e36c6",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a42180dd361584816bfe15c137b665699b994d90",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"273051493363259905969403490307347994637"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-831fee2b",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@443c9d522397511a4328dc2ec3c9c63c73049756",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"132882824146044913981232716369753446896",
"196908608973775577666108013547619927253",
"270490208034355082032579074626745238462",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-8ab6cb23",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3aa3e060c4a80827eb801fc448debc9daa7c46b",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 349.0,
"function_hash": "246460652287190827550735916846009102299"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-935af02e",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d96bd507ed7e7d565b6d53ebd3874686f123b2e",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2837.0,
"function_hash": "72682668607469205295858401895019979134"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-961c589a",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c68f08cc745675a17894e1b4a5b5b9700ace6da4",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2452.0,
"function_hash": "69861289146969412893508689502249169098"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-97de32ee",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c68f08cc745675a17894e1b4a5b5b9700ace6da4",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"273051493363259905969403490307347994637"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-9a24b0c6",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b66e36a3efd24041b7374432bfa4dec2ff01e95",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"102731048969840349072296413935483517016",
"330390925542748040760509962274082702531",
"209101056592303648476971913110047113030",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-9a5580f9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2287d7b721471a3d58bcd829250336e3cdf1635e",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"273051493363259905969403490307347994637"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-ad1ea175",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a32a9a818a895671bd43e0c40351e60e4e9140b",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"251334763122629012013304595426236085705",
"155509014588534044528960042462337015277",
"242244956285346869944725120821016643473",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-b3ccfc20",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2287d7b721471a3d58bcd829250336e3cdf1635e",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2623.0,
"function_hash": "26198654461229759296692686304087197119"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-b416b021",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c68f08cc745675a17894e1b4a5b5b9700ace6da4",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"151553109898272898855013780560370408283",
"133892998278296996774091331829981205208",
"209101056592303648476971913110047113030",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-bc67531b",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@443c9d522397511a4328dc2ec3c9c63c73049756",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"273051493363259905969403490307347994637"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-bda8da94",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@443c9d522397511a4328dc2ec3c9c63c73049756",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2396.0,
"function_hash": "284012680746908341790420327076379692232"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-c71b792d",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3aa3e060c4a80827eb801fc448debc9daa7c46b",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"132882824146044913981232716369753446896",
"196908608973775577666108013547619927253",
"270490208034355082032579074626745238462",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-c7b7eadb",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a32a9a818a895671bd43e0c40351e60e4e9140b",
"target": {
"file": "drivers/md/dm.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"151553109898272898855013780560370408283",
"133892998278296996774091331829981205208",
"209101056592303648476971913110047113030",
"74266244005563987532561523726330491496"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-cbb6456c",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3aa3e060c4a80827eb801fc448debc9daa7c46b",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"226421440000630712507219191207869148959"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-cd8931d1",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b66e36a3efd24041b7374432bfa4dec2ff01e95",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"132882824146044913981232716369753446896",
"196908608973775577666108013547619927253",
"270490208034355082032579074626745238462",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-cd9bdba0",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b66e36a3efd24041b7374432bfa4dec2ff01e95",
"target": {
"file": "drivers/md/dm-stats.h"
},
"deprecated": false,
"digest": {
"line_hashes": [
"108762724614287720175765672517735337501",
"19113774298987446772999261606925233130",
"45340671894677687532365131745692940269",
"273051493363259905969403490307347994637"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-e0f664e9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a32a9a818a895671bd43e0c40351e60e4e9140b",
"target": {
"file": "drivers/md/dm.c",
"function": "alloc_dev"
},
"deprecated": false,
"digest": {
"length": 2506.0,
"function_hash": "64362650077438316564890727239200355133"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-e73525dc",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d96bd507ed7e7d565b6d53ebd3874686f123b2e",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"251334763122629012013304595426236085705",
"155509014588534044528960042462337015277",
"242244956285346869944725120821016643473",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-eb1adc30",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a42180dd361584816bfe15c137b665699b994d90",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 349.0,
"function_hash": "246460652287190827550735916846009102299"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-ed5a0990",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a42180dd361584816bfe15c137b665699b994d90",
"target": {
"file": "drivers/md/dm-stats.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"150635706531452555189624641561130215879",
"109338100223732632580183048782814291166",
"20685106466371063767048391948341726800",
"152604023516794304816845347089602534134",
"132882824146044913981232716369753446896",
"196908608973775577666108013547619927253",
"270490208034355082032579074626745238462",
"209224874262407271661696877237166356061",
"124407156910490504400848665699500596332",
"31787928428620186711568387638160937366",
"104593878057558050656686917160401329758",
"257712551665963343642267389684789662211",
"319072132275945885178707457945000797488"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53044-ee8d3a35",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d96bd507ed7e7d565b6d53ebd3874686f123b2e",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 311.0,
"function_hash": "307490276073081464562879160849538321969"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53044-f0e2d769",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2287d7b721471a3d58bcd829250336e3cdf1635e",
"target": {
"file": "drivers/md/dm-stats.c",
"function": "dm_stats_init"
},
"deprecated": false,
"digest": {
"length": 311.0,
"function_hash": "307490276073081464562879160849538321969"
},
"signature_type": "Function"
}
]