Bug 217476 - Reconsider pthread_kill() use
Summary: Reconsider pthread_kill() use
Status: NEW
Alias: None
Product: Tools
Classification: Unclassified
Component: libcap (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Andrew G. Morgan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-24 03:41 UTC by Andrew G. Morgan
Modified: 2023-05-24 12:09 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Andrew G. Morgan 2023-05-24 03:41:38 UTC
The audit performed on libcap

https://drive.google.com/file/d/1lsuC_tQbQ5pCE2Sy_skw0a7hTzQyQh2C/view


Identified an issue (see LCAP-CR-23-102) regarding the use of [lib]psx:pthread_kill() and the potential for segfaulting. I didn't view this as a blocking issue for releasing libcap-2.69 so I'm filing this bug to investigate it.

I need to understand how to reproduce the stated failure mode and then I can investigate a modified implementation.
Comment 1 Bagas Sanjaya 2023-05-24 11:26:36 UTC
(In reply to Andrew G. Morgan from comment #0)
> The audit performed on libcap
> 
> https://drive.google.com/file/d/1lsuC_tQbQ5pCE2Sy_skw0a7hTzQyQh2C/view
> 
> 
> Identified an issue (see LCAP-CR-23-102) regarding the use of
> [lib]psx:pthread_kill() and the potential for segfaulting. I didn't view
> this as a blocking issue for releasing libcap-2.69 so I'm filing this bug to
> investigate it.
> 
> I need to understand how to reproduce the stated failure mode and then I can
> investigate a modified implementation.

Seems like not Linux kernel issue, but rather libcap one. Please report to support channels for libcap[2].
Comment 2 Bagas Sanjaya 2023-05-24 11:29:00 UTC
(In reply to Bagas Sanjaya from comment #1)
> (In reply to Andrew G. Morgan from comment #0)
> > The audit performed on libcap
> > 
> > https://drive.google.com/file/d/1lsuC_tQbQ5pCE2Sy_skw0a7hTzQyQh2C/view
> > 
> > 
> > Identified an issue (see LCAP-CR-23-102) regarding the use of
> > [lib]psx:pthread_kill() and the potential for segfaulting. I didn't view
> > this as a blocking issue for releasing libcap-2.69 so I'm filing this bug
> to
> > investigate it.
> > 
> > I need to understand how to reproduce the stated failure mode and then I
> can
> > investigate a modified implementation.
> 
> Seems like not Linux kernel issue, but rather libcap one. Please report to
> support channels for libcap[2].

Oops, what I mean was "What have Linux kernel to do with this userspace library issue?".
Comment 3 Andrew G. Morgan 2023-05-24 12:05:11 UTC
Nothing. This bug component is for libcap

Note You need to log in before you can comment on or make changes to this bug.