Skip to content

[AUTOPATCHER-kernel] Kernel CVE - branch 3.0-dev - CVE-2024-41071 CVE-2024-36910 CVE-2024-49914 CVE-2024-44950 CVE-2024-41080 CVE-2024-49898 CVE-2024-50010 CVE-2024-40965 CVE-2024-50067 CVE-2024-53085 CVE-2024-43835 CVE-2023-52601 CVE-2024-49974 CVE-2024-49906 CVE-2024-44955 CVE-2024-46841 CVE-2024-49917 CVE-2024-49909 CVE-2024-49911 CVE-2024-26875 CVE-2024-43904 CVE-2023-52920 CVE-2024-49891 CVE-2024-27011 CVE-2024-49926 CVE-2024-49915 CVE-2024-36972 CVE-2024-44963 CVE-2024-50027 CVE-2024-49899 CVE-2024-43913 CVE-2024-42252 CVE-2024-43911 CVE-2024-42156 CVE-2024-42122 CVE-2024-49934 CVE-2024-43857 CVE-2024-49897 #37193

[AUTOPATCHER-kernel] Kernel CVE - branch 3.0-dev - CVE-2024-41071 CVE-2024-36910 CVE-2024-49914 CVE-2024-44950 CVE-2024-41080 CVE-2024-49898 CVE-2024-50010 CVE-2024-40965 CVE-2024-50067 CVE-2024-53085 CVE-2024-43835 CVE-2023-52601 CVE-2024-49974 CVE-2024-49906 CVE-2024-44955 CVE-2024-46841 CVE-2024-49917 CVE-2024-49909 CVE-2024-49911 CVE-2024-26875 CVE-2024-43904 CVE-2023-52920 CVE-2024-49891 CVE-2024-27011 CVE-2024-49926 CVE-2024-49915 CVE-2024-36972 CVE-2024-44963 CVE-2024-50027 CVE-2024-49899 CVE-2024-43913 CVE-2024-42252 CVE-2024-43911 CVE-2024-42156 CVE-2024-42122 CVE-2024-49934 CVE-2024-43857 CVE-2024-49897

[AUTOPATCHER-kernel] Kernel CVE - branch 3.0-dev - CVE-2024-41071 CVE-2024-36910 CVE-2024-49914 CVE-2024-44950 CVE-2024-41080 CVE-2024-49898 CVE-2024-50010 CVE-2024-40965 CVE-2024-50067 CVE-2024-53085 CVE-2024-43835 CVE-2023-52601 CVE-2024-49974 CVE-2024-49906 CVE-2024-44955 CVE-2024-46841 CVE-2024-49917 CVE-2024-49909 CVE-2024-49911 CVE-2024-26875 CVE-2024-43904 CVE-2023-52920 CVE-2024-49891 CVE-2024-27011 CVE-2024-49926 CVE-2024-49915 CVE-2024-36972 CVE-2024-44963 CVE-2024-50027 CVE-2024-49899 CVE-2024-43913 CVE-2024-42252 CVE-2024-43911 CVE-2024-42156 CVE-2024-42122 CVE-2024-49934 CVE-2024-43857 CVE-2024-49897 #37193

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
name: Check Package CGManifests
on:
push:
branches: [main, dev, 1.0*, 2.0*, 3.0*, fasttrack/*]
pull_request:
branches: [main, dev, 1.0*, 2.0*, 3.0*, fasttrack/*]
jobs:
build:
name: Check Package CGManifests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
# This PR runner uses an older Ubuntu with rpm version 4.17, which doesn't understand some newer macros like %bcond
- name: Define missing rpm macros
run: |
if [[ -n $(rpm --eval '%bcond test 1') ]]; then
echo '%bcond() %[ (%{2}) ? "%{expand:%%bcond_without %{1}}" : "%{expand:%%bcond_with %{1}}" ]' > ~/.rpmmacros
fi
- name: Get base commit for PRs
if: ${{ github.event_name == 'pull_request' }}
run: |
git fetch origin ${{ github.base_ref }}
echo "base_sha=$(git rev-parse origin/${{ github.base_ref }})" >> $GITHUB_ENV
echo "Merging ${{ github.sha }} into ${{ github.base_ref }}"
- name: Get base commit for Pushes
if: ${{ github.event_name == 'push' }}
run: |
git fetch origin ${{ github.event.before }}
echo "base_sha=${{ github.event.before }}" >> $GITHUB_ENV
echo "Merging ${{ github.sha }} into ${{ github.event.before }}"
- name: Get the changed files
run: |
echo "Files changed: '$(git diff-tree --no-commit-id --name-only -r ${{ env.base_sha }} ${{ github.sha }})'"
changed_specs=$(git diff-tree --diff-filter=d --no-commit-id --name-only -r ${{ env.base_sha }} ${{ github.sha }} | { grep "SPECS.*/.*\.spec$" || test $? = 1; })
echo "Files to validate: '${changed_specs}'"
echo "updated-specs=$(echo ${changed_specs})" >> $GITHUB_ENV
- name: Check each spec
run: |
.github/workflows/overwrite_shell_link.sh
.github/workflows/validate-cg-manifest.sh ${{ env.updated-specs }}