{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-52810",
        "ASSIGNER": "cve@kernel.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/jfs: Add check for negative db_l2nbperpage\n\nl2nbperpage is log2(number of blks per page), and the minimum legal\nvalue should be 0, not negative.\n\nIn the case of l2nbperpage being negative, an error will occur\nwhen subsequently used as shift exponent.\n\nSyzbot reported this bug:\n\nUBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:799:12\nshift exponent -16777216 is negative"
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Linux",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Linux",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "1da177e4c3f4",
                                            "version_value": "cc61fcf7d1c9"
                                        },
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "version": "4.14.331",
                                                        "lessThanOrEqual": "4.14.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.19.300",
                                                        "lessThanOrEqual": "4.19.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.4.262",
                                                        "lessThanOrEqual": "5.4.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.10.202",
                                                        "lessThanOrEqual": "5.10.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.15.140",
                                                        "lessThanOrEqual": "5.15.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "6.1.64",
                                                        "lessThanOrEqual": "6.1.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "6.5.13",
                                                        "lessThanOrEqual": "6.5.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "6.6.3",
                                                        "lessThanOrEqual": "6.6.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "6.7",
                                                        "lessThanOrEqual": "*",
                                                        "status": "unaffected",
                                                        "versionType": "original_commit_for_fix"
                                                    }
                                                ],
                                                "defaultStatus": "affected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://git.kernel.org/stable/c/cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01"
            },
            {
                "url": "https://git.kernel.org/stable/c/8f2964df6bfce9d92d81ca552010b8677af8d9dc",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/8f2964df6bfce9d92d81ca552010b8677af8d9dc"
            },
            {
                "url": "https://git.kernel.org/stable/c/a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1"
            },
            {
                "url": "https://git.kernel.org/stable/c/524b4f203afcf87accfe387e846f33f916f0c907",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/524b4f203afcf87accfe387e846f33f916f0c907"
            },
            {
                "url": "https://git.kernel.org/stable/c/5f148b16972e5f4592629b244d5109b15135f53f",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/5f148b16972e5f4592629b244d5109b15135f53f"
            },
            {
                "url": "https://git.kernel.org/stable/c/0cb567e727339a192f9fd0db00781d73a91d15a6",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/0cb567e727339a192f9fd0db00781d73a91d15a6"
            },
            {
                "url": "https://git.kernel.org/stable/c/491085258185ffc4fb91555b0dba895fe7656a45",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/491085258185ffc4fb91555b0dba895fe7656a45"
            },
            {
                "url": "https://git.kernel.org/stable/c/1a7c53fdea1d189087544d9a606d249e93c4934b",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/1a7c53fdea1d189087544d9a606d249e93c4934b"
            },
            {
                "url": "https://git.kernel.org/stable/c/525b861a008143048535011f3816d407940f4bfa",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/525b861a008143048535011f3816d407940f4bfa"
            }
        ]
    },
    "generator": {
        "engine": "bippy-a5840b7849dd"
    }
}