12 ms·
What does "stomping on the memory of the network interface" mean?
by mjg59 7y ago
What does "stomping on the memory of the network interface" mean?
- djsumdog 7y agoReally, terrible, security vulnerability issues? DRI and networking kennel modules should absolutely not be able to interact with each other at all.
- clhodapp 7y agoLinux is (currently) a monolithic kernel and I'm not sure that can be accomplished without changing this.
- fulafel 7y ago"kernel module" together with "should absolutely not be able to interact with each other" are an impossible requirement with Linux. I think the other operating systems available for the Pi are roughly in the same boat (Windows & RiscOS). There was a nascent Minix port at some point, I wonder if it was abandoned.
- segfaultbuserr 7y agoOut-of-bound memory write.
- mjg59 7y agoWhy would that only interfere with the network driver, rather than tending to crash random userland or crash the kernel?
- segfaultbuserr 7y agoI don't know, let's see if anyone has an idea about it. I was just explaining what the OP was asking for. I personally believe it's a EMI-related hardware issue.
- tenebrisalietum 7y agoThe screen memory is taking up so much RAM that it's overlapping with regions of memory the network interface uses.
- mjg59 7y agoResource are allocated via the kernel - it won't hand out overlapping address ranges.
- BalinKing 7y agoMaybe the misbehaving driver is writing past the end of its requested space though, inadvertently? (I don't know if this is always called a "heap overflow" or if that's just Clang AddressSanitizer.)
- exikyut 7y agoOr something like https://mjg59.dreamwidth.org/11235.html https://mjg59.dreamwidth.org/11235.html is happening.
- mjg59 7y agoThat resulted in a wide variety of different failures, from the kernel oopsing to various userspace components crashing. It would be very unusual to have unexpected DMA trigger such a specific failure. (for avoidance of doubt, I wrote that blog post)