Bug 217624
Summary: | [REGRESSION] Memory corruption in multithreaded user space program while calling fork | ||
---|---|---|---|
Product: | Memory Management | Reporter: | Jacob Young (jacobly.alt) |
Component: | Other | Assignee: | Andrew Morton (akpm) |
Status: | NEW --- | ||
Severity: | high | CC: | diego.viola, holger, jirislaby, ketchupfelipe, msuchanek, regressions, sam, timo.gurr |
Priority: | P3 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | 6.4.0 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | c7f8f31c00d187a2c71a241c7f2bd6aa102a4e6f |
Description
Jacob Young
2023-07-02 11:35:20 UTC
Could you report this on the mailing list and CC the commit author? (In reply to Sam James from comment #1) > Could you report this on the mailing list and CC the commit author? (see https://www.kernel.org/doc/html/v6.4/admin-guide/reporting-issues.html) Might be related to https://lore.kernel.org/all/dbdef34c-3a07-5951-e1ae-e9c6e3cdf51b@kernel.org/ - might be worth trying to revert the bad commit identified there. (In reply to Michal Suchánek from comment #4) > Might be related to > https://lore.kernel.org/all/dbdef34c-3a07-5951-e1ae-e9c6e3cdf51b@kernel.org/ > - might be worth trying to revert the bad commit identified there. I can confirm that v6.4 with 0bff0aaea03e2a3ed6bfa302155cca8a432a1829 reverted no longer causes any memory corruption with either my reproducer or the original program. Temporary workaround fix posted at: https://lore.kernel.org/all/20230703182150.2193578-1-surenb@google.com/ (In reply to Holger Hoffstätte from comment #6) > Temporary workaround fix posted at: > https://lore.kernel.org/all/20230703182150.2193578-1-surenb@google.com/ <sigh> ..and of course it doesn't work as expected: https://lore.kernel.org/all/c2cc745a-22f0-90df-59b0-2abd961cd829@redhat.com/ The discussion continues at https://lore.kernel.org/all/dbdef34c-3a07-5951-e1ae-e9c6e3cdf51b@kernel.org/. Everything I've seen suggests 6.4.3 should be fine. (In reply to Michal Suchánek from comment #4) > Might be related to > https://lore.kernel.org/all/dbdef34c-3a07-5951-e1ae-e9c6e3cdf51b@kernel.org/ (In reply to Sam James from comment #9) > Everything I've seen suggests 6.4.3 should be fine. Yes, go builds fine now too. (In reply to Jiri Slaby from comment #10) > (In reply to Michal Suchánek from comment #4) > > Might be related to > > > https://lore.kernel.org/all/dbdef34c-3a07-5951-e1ae-e9c6e3cdf51b@kernel.org/ > > (In reply to Sam James from comment #9) > > Everything I've seen suggests 6.4.3 should be fine. > > Yes, go builds fine now too. The build system I originally encountered this issue with also works again with CONFIG_PER_VMA_LOCK=y on 6.4.3. I think this can be closed now. |