|
Bugzilla – Full Text Bug Listing |
| Summary: | ASAN crypt_r interceptor uses wrong sizeof(struct crypt_data) | ||
|---|---|---|---|
| Product: | [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP5 | Reporter: | Markus Mäkelä <markus.makela> |
| Component: | Basesystem | Assignee: | Richard Biener <rguenther> |
| Status: | IN_PROGRESS --- | QA Contact: | |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | meissner, rguenther, schwab |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | SLES 15 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Markus Mäkelä
2024-02-03 15:02:05 UTC
Confirmed. I checked that a locally built libasan works fine. It looks like upstream dropped intercepting of crypt_r, so it will be gone with GCC 14.
GCC 13 from Leap/SLE build against glibc from SLE15 GA.
The crypt.h I have installed on SLE15 SP5 is from libxcrypt which has a
smaller size:
/* These sizes are chosen to make sizeof (struct crypt_data) add up to
exactly 32768 bytes. */
#define CRYPT_DATA_RESERVED_SIZE 767
#define CRYPT_DATA_INTERNAL_SIZE 30720
compared to what glibc has:
#ifdef __USE_GNU
/* This structure provides scratch and output buffers for 'crypt_r'.
Its contents should not be accessed directly. */
struct crypt_data
{
char keysched[16 * 8];
char sb0[32768];
char sb1[32768];
char sb2[32768];
char sb3[32768];
/* end-of-aligment-critical-data */
char crypt_3_buf[14];
char current_salt[2];
long int current_saltbits;
int direction, initialized;
};
libxcrypt was added in SLE15 SP3 as "ABI compatible replacement for libcypt from glibc" when glibc was updated to version 2.31 and its internal crypt was
disabled.
The crypt interception was removed with https://github.com/llvm/llvm-project/commit/d7bead833631486e337e541e692d9b4a1ca14edd and I'm considering to simply backport this. This is an autogenerated message for OBS integration: This bug (1219520) was mentioned in https://build.opensuse.org/request/show/1145076 Factory / gcc13 This is an autogenerated message for OBS integration: This bug (1219520) was mentioned in https://build.opensuse.org/request/show/1145209 Factory / gcc13 Now also pushed to ALP. For SLE12/15 it has to wait for the usual update we do when 13.3 is out (or when something more urgent shows up). SUSE-RU-2024:1253-1: An update that has nine fixes can now be installed. Category: recommended (moderate) Bug References: 1210959, 1214934, 1217450, 1217667, 1218492, 1219031, 1219520, 1220724, 1221239 Maintenance Incident: [SUSE:Maintenance:33128](https://smelt.suse.de/incident/33128/) Sources used: openSUSE Leap Micro 5.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 openSUSE Leap Micro 5.4 (src): gcc13-13.2.1+git8285-150000.1.9.1 openSUSE Leap 15.5 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Manager Server 4.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Desktop 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Manager Retail Branch Server 4.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Manager Proxy 4.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Desktop 15 SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro for Rancher 5.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.3 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro for Rancher 5.4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.4 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.5 (src): gcc13-13.2.1+git8285-150000.1.9.1 Basesystem Module 15-SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 Development Tools Module 15-SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Package Hub 15 15-SP5 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Enterprise Storage 7.1 (src): gcc13-13.2.1+git8285-150000.1.9.1, cross-nvptx-gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.1 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro 5.2 (src): gcc13-13.2.1+git8285-150000.1.9.1 SUSE Linux Enterprise Micro for Rancher 5.2 (src): gcc13-13.2.1+git8285-150000.1.9.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. SUSE-RU-2024:2087-1: An update that has 10 fixes can now be installed. Category: recommended (moderate) Bug References: 1188441, 1210959, 1214934, 1217450, 1217667, 1218492, 1219031, 1219520, 1220724, 1221239 Maintenance Incident: [SUSE:Maintenance:34272](https://smelt.suse.de/incident/34272/) Sources used: Toolchain Module 12 (src): cross-nvptx-gcc13-13.3.0+git8781-1.13.1, gcc13-13.3.0+git8781-1.13.1 SUSE Linux Enterprise High Performance Computing 12 SP5 (src): gcc13-13.3.0+git8781-1.13.1 SUSE Linux Enterprise Server 12 SP5 (src): gcc13-13.3.0+git8781-1.13.1 SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): gcc13-13.3.0+git8781-1.13.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. |