Commit Graph

872 Commits

Author SHA1 Message Date
eabdullin
4716f1b34d Rebuld 2025-10-17 16:58:17 +03:00
Eduard Abdullin
7a9f6613ad Debrand for AlmaLinux
Build btrfs module
2025-08-22 01:45:34 +00:00
Leo Sandoval
76e12e1b3d Remove strong stack protector on target CFLAGS
Related: #RHEL-89464
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-08-21 09:52:12 -06:00
Eduard Abdullin
a040e8db04 Debrand for AlmaLinux
Build btrfs module
2025-08-21 01:47:07 +00:00
Leo Sandoval
6b3c891675 Revert annobin's regex removal into cflags_sed
Besides re-introducing the annobin sed replacements, it fixes
duplicate '-fstack-protector-strong' flags and remove the sed
replacement '-fno-stack-protector' as it has no effect.

Resolves: #RHEL-89464

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-08-20 10:36:53 -06:00
Eduard Abdullin
4171eab13f Debrand for AlmaLinux
Build btrfs module
2025-08-08 01:39:22 +00:00
Leo Sandoval
e041fb0c9b Enable strong stack protector and annobin section
Besides enabling the strong stack protector flag, it also removes the
sed empty replacements for annobin, so now most binaries include the
annobin section, required by the CI annocheck tool.

Resolves: #RHEL-89464

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-08-07 12:15:35 -06:00
Eduard Abdullin
10b1328626 Debrand for AlmaLinux
Build btrfs module
2025-08-02 01:37:41 +00:00
Leo Sandoval
b96380fa98 20-grub.install: Skip BLS removal when entry type is type2
UKI(package is kernel-uki-virt) is a single, bootable file that
bundles everything needed to start a Linux system. It contains its own
bootable stub and bypasses GRUB2 completely. The kernel-core and
kernel-uki-virt can coexist in one machine. And both of them call
kernel-install remove <kversion> upon package removal and this leads
to the complete removal of both the traditional kernel & its
artifacts(initramfs, BLS entry file,...). For example, if the customer
remove kernel-uki-virt, currently it also removes BLS entry which
causes the regular kernel fails to boot up. In
https://github.com/systemd/systemd/pull/37897 it added
--entry-type=type1|type2 option to kernel-install. type1 stands for
normal kernel, type2 stands for uki. When kernel-install is invoked
with --entry-type=type2 which is for UKI, we should not remove the BLS
entry.

Resolves: #RHEL-104167

Signed-off-by: Yuxin Sun <yuxisun@redhat.com>
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-07-31 11:47:07 -06:00
Eduard Abdullin
8d32ea8ef9 Debrand for AlmaLinux
Build btrfs module
2025-07-29 20:09:39 +00:00
Eduard Abdullin
d0138ba04f Debrand for AlmaLinux
Build btrfs module
2025-07-29 17:19:31 +00:00
Nicolas Frayer
9d0f911af6 spec/posttrans: move grub config stub creation out of spec
Resolves: #RHEL-69943
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-07-29 18:52:08 +02:00
Leo Sandoval
33ce16660b Set correctly the memory attributes for the kernel PE sections
Resolves: #RHEL-97086

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-07-28 13:16:55 -06:00
Eduard Abdullin
937af33ec1 Debrand for AlmaLinux
Build btrfs module
2025-07-17 01:41:20 +00:00
Leo Sandoval
78ed8c744d mm: do not update mem attrs even if EFI protocol is present
A temporal workaround while a real fix is being elaborated.

Resolves: #RHEL-97086

Signed-off-by: Gerd Hoffman <ghoffman@redhat.com>
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-07-15 14:43:49 -06:00
f51fe75d56 Build btrfs module 2025-06-10 13:51:35 +00:00
Leo Sandoval
079a0bd238 Bump version (see CS-2896)
Resolves: #RHEL-94342
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-06-06 09:26:53 -06:00
Eduard Abdullin
e41d0dfbc1 Debrand for AlmaLinux 2025-06-04 01:38:57 +00:00
Leo Sandoval
2be0734e9b Handle special kernel parameter characters properly
Resolves: #RHEL-94342
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-06-02 16:20:19 -06:00
Eduard Abdullin
9c2169a04c Debrand for AlmaLinux 2025-05-15 01:40:15 +00:00
Nicolas Frayer
0127cb7cb1 sbat: bump grub sbat for new shim release
Resolves: #RHEL-91277
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-05-14 11:30:00 +02:00
Eduard Abdullin
ca2d22c06b Debrand for AlmaLinux 2025-05-14 01:39:53 +00:00
Nicolas Frayer
81cae7e227 sbat: add new sbat entry for centos
Resolves: #RHEL-91146
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-05-13 16:38:36 +02:00
Eduard Abdullin
57d187df94 Debrand for AlmaLinux 2025-04-19 01:41:35 +00:00
Andrea Bolognani
bdb6399fe8 Fix riscv64 build
Resolves: RHEL-85987

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-04-17 01:32:52 +02:00
Eduard Abdullin
8962dff37a Debrand for AlmaLinux 2025-04-16 01:42:29 +00:00
Nicolas Frayer
d002e804dd ppc/mkimage: SBAT support on powerpc
Resolves: #RHEL-87420
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-04-15 15:54:33 +02:00
Eduard Abdullin
ec87815ca3 Debrand for AlmaLinux 2025-04-09 01:42:44 +00:00
Marta Lewandowska
5b54c60e8c 99-grub-mkconfig.install: Disable BLS and run grub2-mkconfig when GRUB_ENABLE_BLSCFG is disable
Resolves: #RHEL-86261

Signed-off-by: Marta Lewandowska <mlewando@redhat.com>
Reviewed-by: Leo Sandoval <lsandova@redhat.com>
2025-04-07 14:22:57 -06:00
Eduard Abdullin
480d6cce5b Debrand for AlmaLinux 2025-03-26 01:40:21 +00:00
Nicolas Frayer
d23765b1e8 ieee1275/ofnet: Fix grub_malloc() removed after added safe
Related: #RHEL-80073
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-03-25 14:49:31 +01:00
Eduard Abdullin
99e0fe97fc Debrand for AlmaLinux 2025-03-19 01:40:59 +00:00
Nicolas Frayer
5f77cf3173 powerpc: increase MIN RMA size for CAS negotiation
Resolves: #RHEL-76429
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-03-18 14:43:02 +01:00
Eduard Abdullin
8868949a4d Debrand for AlmaLinux 2025-03-12 01:40:01 +00:00
Leo Sandoval
95e08eb027 Remove NTFS attribute verification patch
The removed patch was part of the CVE patches ported recently into RHEL but
is causing segfaults on dual boot (Windows & RHEL) systems when generating the
grub configuration with the grub2-mkconfig tool. At some point the same patch
will come back with the corresponding fix but for the time being, it is removed.

Related: RHEL-80686

Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-03-11 10:29:02 -06:00
Eduard Abdullin
bba9c0f0f0 Debrand for AlmaLinux 2025-02-27 01:41:13 +00:00
Nicolas Frayer
b621d47266 Bump release to trigger signing tools
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-02-26 15:29:45 +01:00
Nicolas Frayer
0f8974ea55 fs/ext2: Rework out-of-bounds read for inline and external extents
Related: #RHEL-80686
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-02-26 12:19:46 +01:00
Vitaly Kuznetsov
61e8038539 99-grub-mkconfig: Avoid disabling BLS usage for Xen HVM VMs
Xen PV and PVH guest use direct kernel boot and may use 'pygrub' tool to
parse guest's grub config. The tool is incompatible with BLS and thus
99-grub-mkconfig.install disables it. The problem is observed with HVM
guests which are 'normal' VMs and don't require pygrub compatibility. E.g.
legacy AWS instance types are of this kind. Disabling BLS for them is
undesired and unjustified. Luckily, kernel driver for Xen provides
'/sys/hypervisor/guest_type' interface telling us which type of guest are
we running in.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
2025-02-26 12:13:24 +01:00
Eduard Abdullin
fc029ed5d4 Debrand for AlmaLinux 2025-02-26 01:39:34 +00:00
Leo Sandoval
b9f070c2f2 Add Several CVE fixes
Resolves: CVE-2024-45781 CVE-2024-45783 CVE-2024-45778
Resolves: CVE-2024-45775 CVE-2024-45780 CVE-2024-45774
Resolves: CVE-2025-0690 CVE-2025-1118 CVE-2024-45782
Resolves: CVE-2025-0624 CVE-2024-45779 CVE-2024-45776
Resolves: CVE-2025-0622 CVE-2025-0677
Resolves: #RHEL-80691
Resolves: #RHEL-80690
Resolves: #RHEL-80689
Resolves: #RHEL-80687
Resolves: #RHEL-80686

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-02-25 11:59:31 -06:00
eabdullin
5e81c9eb0d Merge branch 'c10s' into a10s 2025-01-24 13:26:17 +03:00
Leo Sandoval
c17ad7254d fix pending SAST issues
Resolves: #RHEL-50504

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-01-22 17:05:40 -06:00
Leo Sandoval
ff6d9c809c term/ns8250-spcr: return if redirection is disabled
Compared to previous commit, this is a better approach to handle SPCR null base
address indicating no redirection, doing the null check on the caller instead of
the callee.

Resolves: #RHEL-68622
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-01-17 11:25:47 -06:00
eabdullin
a517862d5c Merge branch 'c10s' into a10s 2025-01-16 11:59:02 +03:00
Leo Sandoval
4052952894 term/ns8250: return in case of a null SPCR base addresses
Resolves: #RHEL-68622
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2025-01-13 12:04:13 -06:00
Nicolas Frayer
6f919c8415 fs/xfs: fix large extent counters incompat feature support
Resolves: #RHEL-68390
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2025-01-09 17:52:49 +01:00
eabdullin
a26ed1e662 Merge branch 'c10s' into a10s 2025-01-08 12:46:02 +03:00
Michal Sekletar
05eb032a32 Remove BLS fake config on kernel removal
Resolves: #RHEL-59557
Signed-off-by: Michal Sekletar <msekleta@redhat.com>
Reviewed-by: Leo Sandoval <lsandova@redhat.com>
Reviewed-by: Marta Lewandowska <mlewando@redhat.com>
2024-12-09 13:34:57 -06:00
Leo Sandoval
8812e31e42 acpi: Fix out of bounds access in grub_acpi_xsdt_find_table()
Resolves: #RHEL-68690
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
2024-12-09 10:06:32 -06:00