Bug#983379: linux uml segfault

Anton Ivanov anton.ivanov at kot-begemot.co.uk
Wed Mar 3 10:53:35 GMT 2021


On 03/03/2021 10:45, Ritesh Raj Sarraf wrote:
> HI Anton,
>
> On Wed, 2021-03-03 at 09:30 +0000, Anton Ivanov wrote:
>>> OTOH, I have one more user (other than you) who's not been able to
>>> reproduce the issue.
>>>
>>>> I will do a dissect the moment I figure out how to reproduce it.
>>>> I
>>>> will try to do some more experiments on that tomorrow.
>> I tried to alter the userspace a bit, but it makes no difference.
>>
>> Out of curiosity, what are you running it on?
>>
> Bare-metal machines. 3 different machines, all Intel processors.
> And it fails on all 3 of them.

Hmmm...

All mine are AMD. I can try to boot up an Intel later today with Bullseye to see if it makes a difference.

> On the distribution side, all 3 of them run Debian Unstable, with Linux
> 5.10.13
>
>> The code here is:
>>
>> static inline u32 printk_caller_id(void)
>> {
>>          return in_task() ? task_pid_nr(current) :
>>                  0x80000000 + raw_smp_processor_id();
>> }
>>
>>
>> That is something which should not bomb out unless we have memory
>> corruption or something along those lines - current being invalid.
>>
> Must be something different. Not all machines could have bad memory at
> the same time.

I did not mean bad memory. I meant memory corruption as a result of race, buffer overrun or anything else like that.

>
>
-- 
Anton R. Ivanov
https://www.kot-begemot.co.uk/




More information about the linux-um mailing list