Commit Graph

142 Commits

Author SHA1 Message Date
Patsy Griffin
45033701c6 elf: Avoid some free (NULL) calls in _dl_update_slotinfo
elf: Support recursive use of dynamic TLS in interposed malloc

Resolves: RHEL-39992
2024-07-11 16:01:24 -04:00
Patsy Griffin
c24969da03 Update syscall list for Linux 6.9.
Resolves: RHEL-39000
2024-07-03 18:29:08 -04:00
Patsy Griffin
d3837bb611 CVE-2024-33601, CVE-2024-33602: nscd: netgroup: Use two buffers in addgetnetgrentX
Resolves: RHEL-34272
Resolves: RHEL-34274
2024-06-13 22:25:57 -04:00
Patsy Griffin
ec53b9158c CVE-2024-33600: nscd: Do not send missing not-found response in addgetnetgrentX.
Resolves: RHEL-34268
2024-06-11 23:25:01 -04:00
Patsy Griffin
221f7bce5b CVE-2024-33599: nscd: buffer overflow in netgroup cache (RHEL-34265)
Resolves: RHEL-34265
2024-06-10 13:51:02 -04:00
Arjun Shankar
001abaad14 Add new test for malloc mmap fall-back path upon sbrk failure (RHEL-25063)
Resolves: RHEL-25063
2024-06-10 14:10:09 +02:00
Arjun Shankar
1fb374e8dc Correct changelog entry
Related: RHEL-31805
2024-06-10 14:07:04 +02:00
Patsy Griffin
c9855bf213 CVE-2024-2961: Out of bounds write in iconv conversion to ISO-2022-CN-EXT (RHEL-31805)
Resolves: RHEL-31805
2024-06-06 21:34:16 -04:00
Patsy Griffin
2ea0ac63f1 Enhance ld.so --list-diagnostics on aarch64
Resolves: RHEL-22165
2024-06-06 14:24:58 -04:00
DJ Delorie
6640587883 Add MMAP_ABOVE4G from Linux 6.6 to sys/mman.h
Resolves: RHEL-39006
2024-05-29 15:47:04 -04:00
Patsy Griffin
ed2fe1a5b0 Improve test coverage for connect()
Resolves: RHEL-32681
2024-05-20 17:35:34 -04:00
DJ Delorie
ada12691fb x86-64: Save APX registers in ld.so trampoline
Resolves: RHEL-25046
2024-04-03 23:25:59 -04:00
DJ Delorie
6dbf26d6f4 x86: Fix Zen3/Zen4 ERMS selection
Resolves: RHEL-25531
2024-04-02 22:40:56 -04:00
Arjun Shankar
5a35e9b70f malloc: Do not use MAP_NORESERVE to allocate heap segments (RHEL-21884)
Resolves: RHEL-21884
2024-03-12 17:10:19 +01:00
DJ Delorie
b11febd624 x86-64: Add glibc.cpu.prefer_map_32bit_exec
Resolves: RHEL-20172

Note: there are follow up patches which fix Hurd wrt this change,
but those lead to a rabbit hole of other required fixes that
become more and more invasive... One relevant change was to move
the tests specific to this change, but there has been no further
work upstream on those tests, so leaving that out should not
affect future merges.
2024-03-11 18:22:11 -04:00
Patsy Griffin
549c5753ae Switch back to assembly syscall wrapper for prctl (RHEL-23472)
Resolves: RHEL-23472
2024-02-29 09:15:16 -05:00
Patsy Griffin
f58c52d099 manual: fix order of arguments of memalign and aligned_alloc
Resolves: RHEL-21556
2024-01-26 10:50:27 -05:00
Arjun Shankar
da346ff8a8 getaddrinfo: Return correct error EAI_MEMORY when out-of-memory (RHEL-19444)
Resolves: RHEL-19444
2024-01-09 19:51:08 +01:00
Arjun Shankar
b02eb10bf8 getaddrinfo: Fix occasionally empty result due to nscd cache order (RHEL-16643)
Resolves: RHEL-16643
2024-01-08 14:49:32 +01:00
Florian Weimer
178dfa8115 Re-enable output buffering for wide stdio streams (RHEL-19862)
Resolves: RHEL-19862
2024-01-02 15:18:37 +01:00
Carlos O'Donell
806a394144 Fix TLS corruption during dlopen()/dlclose() sequences (RHEL-17465)
Resolves: RHEL-17465
2023-12-21 15:44:01 -05:00
Florian Weimer
46256b791c Improve compatibility between underlinking and IFUNC resolvers (RHEL-17319)
Resolves: RHEL-17319
2023-12-08 20:18:58 +01:00
Patsy Griffin
233e710888 Update syscall-names.list for Linux 6.6. (RHEL-16016)
Resolves: RHEL-16016
2023-12-08 10:32:16 -05:00
Patsy Griffin
06ca45bab0 malloc: Use __get_nprocs on arena_get2. (RHEL-17157)
Resolves: RHEL-17157
2023-12-06 20:51:59 -05:00
Patsy Griffin
654c9b6d78 Improve test coverage for wcsdup, strdup and strndup.
Resolves: RHEL-15343
2023-12-05 00:31:25 -05:00
Florian Weimer
bca78af34a fstat performance enhancement (RHEL-2338)
Resolves: RHEL-2338
2023-11-24 19:33:45 +01:00
Florian Weimer
26fb3f4504 ldconfig should skip temporary files created by RPM (RHEL-14383)
Resolves: RHEL-14383
2023-11-21 09:45:13 +01:00
Florian Weimer
8b8ca63bf3 Fix force-first handling in dlclose (RHEL-2491)
Resolves: RHEL-2491
2023-11-20 13:12:49 +01:00
Arjun Shankar
5c845205d3 nscd: Refer to /run, not /var/run in systemd socket file (RHEL-16275)
Resolves: RHEL-16275
2023-11-15 16:12:08 +01:00
Florian Weimer
2ea2e4b802 Fix slow tls access after dlopen (RHEL-2123)
Resolves: RHEL-2123
2023-11-10 10:14:03 +01:00
Arjun Shankar
07b897537d Add /usr/share/doc/glibc/gai.conf to glibc-doc (RHEL-14545)
Resolves: RHEL-14545
2023-10-24 17:23:55 +02:00
Florian Weimer
bab2bafb13 nscd: Skip unusable entries in first pass in prune_cache (RHEL-3397)
Resolves: RHEL-3397
2023-10-20 10:43:51 +02:00
Florian Weimer
01cc656c63 x86-64: Report non-zero cache sizes under TDX hypervisors (RHEL-1191)
Resolves: RHEL-1191
2023-10-09 16:03:20 +02:00
Florian Weimer
df2a403efa Fix memory leak regression in getaddrinfo (RHEL-2426)
Related: RHEL-2426
2023-09-25 07:54:46 +01:00
Carlos O'Donell
d9eb6f4246 CVE-2023-4911 glibc: buffer overflow in ld.so leading to privilege escalation (RHEL-3000)
Resolves: RHEL-3000
Reviewed-by: Siddhesh Poyarekar <siddhesh@redhat.com>
2023-09-19 22:37:14 -04:00
Florian Weimer
3f7d8c721a Revert: Always call destructors in reverse constructor order (RHEL-2491)
Reason for revert: Needs additional upstream fixes per swbz#30869
and Fedora bug 2239304.

Related: RHEL-2491
2023-09-19 16:13:30 +02:00
Siddhesh Poyarekar
8549c41db6 CVE-2023-4806 glibc: potential use-after-free in getaddrinfo
Resolves: RHEL-2426
2023-09-16 09:01:34 -04:00
Siddhesh Poyarekar
a10da9c455 CVE-2023-4813: potential use-after-free in gaih_inet
Resolves: RHEL-2438
2023-09-15 15:11:13 -04:00
Carlos O'Donell
2b2770be11 CVE-2023-4527: Stack read overflow in getaddrinfo in no-aaaa mode (#2234716)
Resolves: #2234716
2023-09-15 08:11:03 -04:00
Carlos O'Donell
d79354ed95 Always call destructors in reverse constructor order (RHEL-2491)
Resolves: RHEL-2491
2023-09-14 16:58:19 -04:00
DJ Delorie
8099ec746a Add support for ppc64le hwcaps tunables
Resolves: RHEL-1017
2023-09-13 16:33:45 -04:00
Carlos O'Donell
c7fe751949 Fix string and memory function tuning on small systems (#2213907)
Related: #2213907
2023-08-15 12:07:37 -04:00
Florian Weimer
5d55f30bfc Fix additional GCC 13 build issue (#2222188)
Resolves: #2222188
2023-08-14 08:50:57 +02:00
Florian Weimer
3a04eb2e18 Fix AMD cache size computation for hypervisors, old CPUs (#2166710)
Missing spec file update.

Related: #2166710
2023-08-11 17:54:52 +02:00
DJ Delorie
8c4d8a0e5b Fix temporal threshold calculations (#2213907)
Resolves: #221390
2023-08-08 21:25:08 -04:00
Florian Weimer
4a20a2b4f5 Ignore symbolic link change on /etc/nsswitch.conf (#2229156)
Resolves: #2229156
2023-08-04 15:52:59 +02:00
Florian Weimer
a02be7c868 Fix regression with IPv4 mapped addresses in /etc/hosts (#2224504)
Resolves: #2224504
2023-07-28 15:40:24 +02:00
Florian Weimer
08f3180f47 Fix accidentally disabled rseq test (#2224289)
Related: #2224289
2023-07-25 14:38:09 +02:00
Florian Weimer
a422f55007 Make libSegFault.so NODELETE (#2224349)
Resolves: #2224349
2023-07-21 20:56:01 +02:00
Florian Weimer
86889b9545 rseq_area should always be 32 bytes large (#2224289)
Resolves: #2224289
2023-07-21 16:30:40 +02:00