{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/ubuntu18.04els/vex/2024/cve-2024-50301-els_os-ubuntu18_04els.json"
      }
    ],
    "title": "Security update on CVE-2024-50301",
    "tracking": {
      "current_release_date": "2025-12-23T22:15:38Z",
      "generator": {
        "date": "2025-12-23T22:15:38Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2024-50301-ELS_OS-UBUNTU18.04ELS",
      "initial_release_date": "2024-11-19T02:16:00Z",
      "revision_history": [
        {
          "date": "2024-11-19T02:16:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-05-19T15:21:54Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2025-12-23T22:15:38Z",
          "number": "3",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "2"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Ubuntu 18.04",
                "product": {
                  "name": "Ubuntu 18.04",
                  "product_id": "Ubuntu-18",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Ubuntu"
          }
        ],
        "category": "vendor",
        "name": "Canonical Ltd."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                  "product_id": "linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency@4.15.0-245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-image-generic-0:4.15.0.245.256.amd64",
                "product": {
                  "name": "linux-image-generic-0:4.15.0.245.256.amd64",
                  "product_id": "linux-image-generic-0:4.15.0.245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-image-generic@4.15.0.245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
                  "product_id": "linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-tools-4.15.0-245-tuxcare.els33@4.15.0-245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                  "product_id": "linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-modules-4.15.0-245-tuxcare.els33-generic@4.15.0-245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                  "product_id": "linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency@4.15.0-245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
                  "product_id": "linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-cloud-tools-4.15.0-245-tuxcare.els33@4.15.0-245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-generic-0:4.15.0.245.256.amd64",
                "product": {
                  "name": "linux-generic-0:4.15.0.245.256.amd64",
                  "product_id": "linux-generic-0:4.15.0.245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-generic@4.15.0.245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                  "product_id": "linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-tools-4.15.0-245-tuxcare.els33-generic@4.15.0-245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                  "product_id": "linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-modules-4.15.0-245-tuxcare.els33-lowlatency@4.15.0-245.256?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                "product": {
                  "name": "linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                  "product_id": "linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-headers-4.15.0-245-tuxcare.els33-generic@4.15.0-245.256?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          }
        ],
        "category": "vendor",
        "name": "CloudLinux"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-image-generic-0:4.15.0.245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-image-generic-0:4.15.0.245.256.amd64"
        },
        "product_reference": "linux-image-generic-0:4.15.0.245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-generic-0:4.15.0.245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-generic-0:4.15.0.245.256.amd64"
        },
        "product_reference": "linux-generic-0:4.15.0.245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64"
        },
        "product_reference": "linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-50301",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "notes": [
        {
          "category": "description",
          "text": "In the Linux kernel, the following vulnerability has been resolved:\n\nsecurity/keys: fix slab-out-of-bounds in key_task_permission\n\nKASAN reports an out of bounds read:\nBUG: KASAN: slab-out-of-bounds in __kuid_val include/linux/uidgid.h:36\nBUG: KASAN: slab-out-of-bounds in uid_eq include/linux/uidgid.h:63 [inline]\nBUG: KASAN: slab-out-of-bounds in key_task_permission+0x394/0x410\nsecurity/keys/permission.c:54\nRead of size 4 at addr ffff88813c3ab618 by task stress-ng/4362\n\nCPU: 2 PID: 4362 Comm: stress-ng Not tainted 5.10.0-14930-gafbffd6c3ede #15\nCall Trace:\n __dump_stack lib/dump_stack.c:82 [inline]\n dump_stack+0x107/0x167 lib/dump_stack.c:123\n print_address_description.constprop.0+0x19/0x170 mm/kasan/report.c:400\n __kasan_report.cold+0x6c/0x84 mm/kasan/report.c:560\n kasan_report+0x3a/0x50 mm/kasan/report.c:585\n __kuid_val include/linux/uidgid.h:36 [inline]\n uid_eq include/linux/uidgid.h:63 [inline]\n key_task_permission+0x394/0x410 security/keys/permission.c:54\n search_nested_keyrings+0x90e/0xe90 security/keys/keyring.c:793\n\nThis issue was also reported by syzbot.\n\nIt can be reproduced by following these steps(more details [1]):\n1. Obtain more than 32 inputs that have similar hashes, which ends with the\n   pattern '0xxxxxxxe6'.\n2. Reboot and add the keys obtained in step 1.\n\nThe reproducer demonstrates how this issue happened:\n1. In the search_nested_keyrings function, when it iterates through the\n   slots in a node(below tag ascend_to_node), if the slot pointer is meta\n   and node->back_pointer != NULL(it means a root), it will proceed to\n   descend_to_node. However, there is an exception. If node is the root,\n   and one of the slots points to a shortcut, it will be treated as a\n   keyring.\n2. Whether the ptr is keyring decided by keyring_ptr_is_keyring function.\n   However, KEYRING_PTR_SUBTYPE is 0x2UL, the same as\n   ASSOC_ARRAY_PTR_SUBTYPE_MASK.\n3. When 32 keys with the similar hashes are added to the tree, the ROOT\n   has keys with hashes that are not similar (e.g. slot 0) and it splits\n   NODE A without using a shortcut. When NODE A is filled with keys that\n   all hashes are xxe6, the keys are similar, NODE A will split with a\n   shortcut. Finally, it forms the tree as shown below, where slot 6 points\n   to a shortcut.\n\n                      NODE A\n              +------>+---+\n      ROOT    |       | 0 | xxe6\n      +---+   |       +---+\n xxxx | 0 | shortcut  :   : xxe6\n      +---+   |       +---+\n xxe6 :   :   |       |   | xxe6\n      +---+   |       +---+\n      | 6 |---+       :   : xxe6\n      +---+           +---+\n xxe6 :   :           | f | xxe6\n      +---+           +---+\n xxe6 | f |\n      +---+\n\n4. As mentioned above, If a slot(slot 6) of the root points to a shortcut,\n   it may be mistakenly transferred to a key*, leading to a read\n   out-of-bounds read.\n\nTo fix this issue, one should jump to descend_to_node if the ptr is a\nshortcut, regardless of whether the node is root or not.\n\n[1] https://lore.kernel.org/linux-kernel/1cfa878e-8c7b-4570-8606-21daf5e13ce7@huaweicloud.com/\n\n[jarkko: tweaked the commit message a bit to have an appropriate closes\n tag.]",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Ubuntu-18:linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
          "Ubuntu-18:linux-image-generic-0:4.15.0.245.256.amd64",
          "Ubuntu-18:linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
          "Ubuntu-18:linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
          "Ubuntu-18:linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
          "Ubuntu-18:linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
          "Ubuntu-18:linux-generic-0:4.15.0.245.256.amd64",
          "Ubuntu-18:linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
          "Ubuntu-18:linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
          "Ubuntu-18:linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2024-50301"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/199c20fb7499c79557a075dc24e9a7dae7d9f1ce",
          "url": "https://git.kernel.org/stable/c/199c20fb7499c79557a075dc24e9a7dae7d9f1ce"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/1e4332581cd4eed75aea77af6f66cdcdda8b49b9",
          "url": "https://git.kernel.org/stable/c/1e4332581cd4eed75aea77af6f66cdcdda8b49b9"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/3e79ad156bedf2da0ab909a118d2cec6c9c22b79",
          "url": "https://git.kernel.org/stable/c/3e79ad156bedf2da0ab909a118d2cec6c9c22b79"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/4a74da044ec9ec8679e6beccc4306b936b62873f",
          "url": "https://git.kernel.org/stable/c/4a74da044ec9ec8679e6beccc4306b936b62873f"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/4efb69a0e294ef201bcdf7ce3d6202cd0a545a5d",
          "url": "https://git.kernel.org/stable/c/4efb69a0e294ef201bcdf7ce3d6202cd0a545a5d"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/bbad2d5b6c99db468d8f88b6ba6a56ed409b4881",
          "url": "https://git.kernel.org/stable/c/bbad2d5b6c99db468d8f88b6ba6a56ed409b4881"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/c3ce634ad953ce48c75c39bdfd8b711dd95f346f",
          "url": "https://git.kernel.org/stable/c/c3ce634ad953ce48c75c39bdfd8b711dd95f346f"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/e0a317ad68e4ea48a0158187238c5407e4fdec8b",
          "url": "https://git.kernel.org/stable/c/e0a317ad68e4ea48a0158187238c5407e4fdec8b"
        }
      ],
      "release_date": "2024-11-19T02:16:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "Ubuntu-18:linux-cloud-tools-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
            "Ubuntu-18:linux-image-generic-0:4.15.0.245.256.amd64",
            "Ubuntu-18:linux-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
            "Ubuntu-18:linux-modules-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
            "Ubuntu-18:linux-buildinfo-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
            "Ubuntu-18:linux-cloud-tools-4.15.0-245-tuxcare.els33-0:4.15.0-245.256.amd64",
            "Ubuntu-18:linux-generic-0:4.15.0.245.256.amd64",
            "Ubuntu-18:linux-tools-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64",
            "Ubuntu-18:linux-modules-4.15.0-245-tuxcare.els33-lowlatency-0:4.15.0-245.256.amd64",
            "Ubuntu-18:linux-headers-4.15.0-245-tuxcare.els33-generic-0:4.15.0-245.256.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "High"
        }
      ]
    }
  ]
}