{
  "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/rhel7els/vex/2024/cve-2024-38621-els_os-rhel7els.json"
      }
    ],
    "title": "Security update on CVE-2024-38621",
    "tracking": {
      "current_release_date": "2025-12-23T22:15:38Z",
      "generator": {
        "date": "2025-12-23T22:15:38Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2024-38621-ELS_OS-RHEL7ELS",
      "initial_release_date": "2024-06-21T11:15:00Z",
      "revision_history": [
        {
          "date": "2024-06-21T11:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-10-02T19:16:11Z",
          "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": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "Red-Hat-7",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:redhat:enterprise_linux:7:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          }
        ],
        "category": "vendor",
        "name": "Red Hat, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel-tools-libs-devel@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel-debug-devel@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/python-perf@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/perf@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/bpftool@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel-tools-libs@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel-devel@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel-debug@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel-headers@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                "product": {
                  "name": "kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_id": "kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/kernel-tools@3.10.0-1160.137.1.el7.tuxcare.els25?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64 as a component of Red Hat Enterprise Linux 7",
          "product_id": "Red-Hat-7:kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        },
        "product_reference": "kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
        "relates_to_product_reference": "Red-Hat-7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-38621",
      "cwe": {
        "id": "CWE-787",
        "name": "Out-of-bounds Write"
      },
      "notes": [
        {
          "category": "description",
          "text": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: stk1160: fix bounds checking in stk1160_copy_video()\n\nThe subtract in this condition is reversed.  The ->length is the length\nof the buffer.  The ->bytesused is how many bytes we have copied thus\nfar.  When the condition is reversed that means the result of the\nsubtraction is always negative but since it's unsigned then the result\nis a very high positive value.  That means the overflow check is never\ntrue.\n\nAdditionally, the ->bytesused doesn't actually work for this purpose\nbecause we're not writing to \"buf->mem + buf->bytesused\".  Instead, the\nmath to calculate the destination where we are writing is a bit\ninvolved.  You calculate the number of full lines already written,\nmultiply by two, skip a line if necessary so that we start on an odd\nnumbered line, and add the offset into the line.\n\nTo fix this buffer overflow, just take the actual destination where we\nare writing, if the offset is already out of bounds print an error and\nreturn.  Otherwise, write up to buf->length bytes.",
          "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": [
          "Red-Hat-7:kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
          "Red-Hat-7:kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2024-38621"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/7532bcec0797adfa08791301c3bcae14141db3bd",
          "url": "https://git.kernel.org/stable/c/7532bcec0797adfa08791301c3bcae14141db3bd"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/a08492832cc4cacc24e0612f483c86ca899b9261",
          "url": "https://git.kernel.org/stable/c/a08492832cc4cacc24e0612f483c86ca899b9261"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/a16775828aaed1c54ff4e6fe83e8e4d5c6a50cb7",
          "url": "https://git.kernel.org/stable/c/a16775828aaed1c54ff4e6fe83e8e4d5c6a50cb7"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/b504518a397059e1d55c521ba0ea2b545a6c4b52",
          "url": "https://git.kernel.org/stable/c/b504518a397059e1d55c521ba0ea2b545a6c4b52"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/d410017a7181cb55e4a5c810b32b75e4416c6808",
          "url": "https://git.kernel.org/stable/c/d410017a7181cb55e4a5c810b32b75e4416c6808"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/ecf4ddc3aee8ade504c4d36b7b4053ce6093e200",
          "url": "https://git.kernel.org/stable/c/ecf4ddc3aee8ade504c4d36b7b4053ce6093e200"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/f6a392266276730bea893b55d12940e32a25f56a",
          "url": "https://git.kernel.org/stable/c/f6a392266276730bea893b55d12940e32a25f56a"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/faa4364bef2ec0060de381ff028d1d836600a381",
          "url": "https://git.kernel.org/stable/c/faa4364bef2ec0060de381ff028d1d836600a381"
        }
      ],
      "release_date": "2024-06-21T11:15: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": [
            "Red-Hat-7:kernel-tools-libs-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:kernel-debug-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:python-perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:perf-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:bpftool-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:kernel-tools-libs-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:kernel-devel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:kernel-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:kernel-debug-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:kernel-headers-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64",
            "Red-Hat-7:kernel-tools-0:3.10.0-1160.137.1.el7.tuxcare.els25.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "High"
        }
      ]
    }
  ]
}