Lurker News
My workplace has a number of people reporting Windows blue-screening and going into a boot loop. The IT Department have a number of servers recently gone offline and have said there's a chance that the two issues are related, and potentially due to a Crowd Strike application update.

My laptop blue-screened and rebooted, but is working fine after the reboot.
A local radio station has also said they've got the same issues with their laptops and their phone system is down as a result.
Not seeing anything on news sites yet. Anyone else seeing similar?
Above is all based in Australia.

Comments (3,859) 477 threads

Show all comments

Showing thread 30 of 477

techbrovanguard12 replies#
i've seen photos of the bsod from an affected machine, the error code is `PAGE_FAULT_IN_NONPAGED_AREA`. here's some helpful takeaways from this incident:

1) mistakes in kernel-level drivers can and will crash the entire os
2) do not write kernel-level drivers
3) do not write kernel-level drivers
4) do not write kernel-level drivers
5) if you really need a kernel-level driver, do not write it in a memory unsafe language

dboreham#
0) don't load a new driver into your working kernel.
YawningAngel#
Basically all AV either runs as root or uses a kernel driver. I guess the former is preferable
happyweasel1 reply#
5) Well how much of those kernel-level drivers we rely upon ARE written in a memory unsafe language ??? Like 99% ?

And we are not crashing and dying every day?
Sure, Rust is the way to go. it just took Rust 18 years to mature to that level.
Also, quite frankly, if your unwrap() makes your program terminate because an array out of bounds isn't that exactly the same thing ? (program terminates)
But IMHO if we are hopping along a minefield at this moment every second of every day, well... If this is the worst case scenario, yeah it's not that worse after all.

techbrovanguard#
> Well how much of those kernel-level drivers we rely upon ARE written in a memory unsafe language ??? Like 99% ? And we are not crashing and dying every day?

we shouldn't discount the consequences of memory safety vulnerabilities just because flights haven't physically been grounded.
> Also, quite frankly, if your unwrap() makes your program terminate because an array out of bounds isn't that exactly the same thing ? (program terminates)
this is a strawman, if you were writing a kernel-level driver in rust you'd configure the linter to deny code which can cause panics.
here's a subset:
- https://rust-lang.github.io/rust-clippy/master/index.html#/u...
- https://rust-lang.github.io/rust-clippy/master/index.html#in...

maeil2 replies#
I've said this elsewhere but the enabling of instant auto-updates on software relied on by a mission critical system is a much bigger problem than kernel drivers.

Just imagine that there's a proprietary firewall that everyone uses on their production servers. No kernel-level drivers necessary. A broken update causes the firewall to blindly reject any kind of incoming or outgoing request.
Easier to rollback because the system didn't break? Not really, you can't even get into the system anymore without physical access. The chaos would be just as bad.
A firewall is an easy example, but it can be any kind of application. A broken update can effectively bring the system down.

nomercy4001 reply#
There sure are a lot of mission-critical systems and companies hit by this. I am surprised that auto-updates are enabled. I read about some large companies/services in my country being affected, but also a few which are unaffected. Maybe they have hired a good IT provider.
maeil1 reply#
I'm not surprised, seeing how this madness has even infected OSS/Linux.

https://github.com/canonical/microk8s/issues/1022
A k8s variety. By Canonical. Screams production, no one is using this for their gaming PC. Comes with.. auto-updates enabled through snap.
Yup, that once broke prod at a company I worked at.
Should our DevOps guy have prevented this? I guess so, though I don't blame him. It was a tiny company and he did a good job given his salary, much better than similar companies here. The blame goes to Canonical - if you make this the default it better come with a giant, unskippable warning sign during setup and on boot.

Continue this thread — 1 reply

gukov#
One thing to consider with security software, though, is that time is of essence when it comes to getting protection again 0day vulnerabilities.

Gotta think that the pendulum might swing into the other direction now and enterprises will value gradual, canary deployments over instant 100% coverage.

AndriyKunitsyn2 replies#
Not a helpful takeaway, I've yet to see a Java kernel driver.
techbrovanguard#
be the change you wish to see
saagarjha1 reply#
Nobody is telling you to use Java. Although, if you want to revive Singularity that would be pretty neat.
AndriyKunitsyn1 reply#
And I never said that anyone is telling me to use Java. It was an example.

Because of the nature of AV software, its code would be drowning in "unsafe" memory accesses no matter the language we chose. This is AV, it's always trying to read the memory that is not AV's, from its very design.
This is a story about bad software management processes, not programming languages.

Continue this thread — 1 reply

rfoo1 reply#
Memory safe language does not prevent crash.

In case of potential UB (and then memory corruption), you get a guaranteed crash.
Wait, crash? :wink:

techbrovanguard#
did you have a crowdstroke while writing this reply?
bdd8f1df777b1 reply#
The problem is that some viruses may run in the kernel mode, so an AV has to do the same, or it will be powerless against such viruses.
skydhash1 reply#
If a virus got that far, you're already in trouble. What stops them from attacking the anti-virus?
bdd8f1df777b#
If you think AV cannot stop viruses in the same privilege level, then that is more reason for AV to run in the kernel mode. Because by your logic, an AV in user mode cannot stop a virus in user mode.
thwarted2 replies#
I'm not a Windows programmer so the exact meaning of PAGE_FAULT_IN_NONPAGED_AREA is not clear to me. I am familiar with UNIX style terminology here.

Is this just a regular "dereferencing a bad pointer", what would be a "segmentation violation" (SEGV) on UNIX, a pointer that falls outside the mapped virtual address space?
As this is in ring 0 and potentially has direct access to raw, non-virtual physical addressing, is there a distinction between "paged memory" (virtual address space) and "nonpaged memory" (physical address) with this error?
Is it possible to have a page fault failure in a paged area (PAGE_FAULT_IN_PAGED_AREA?), or would that be non-fatal and would be like "minor page fault" (writing to a shared page, COW) or "major page fault" (having to hit disk/swap to bring the page into physical memory)?
Are there other PAGE_FAULT_ errors on Windows?
Searching for this is difficult, as all the results are for random spammy user-centric tech sites with "how do I solve PAGE_FAULT_IN_PAGED_AREA blue screen?" content, not for a programmer audience.

7373737373#
an audio driver once blue screen of death'd my windows whenever i started Discord.

i'm surprised i'm not hearing a stronger call for microkernels yet

rustcleaner1 reply#
>5) if you really need a kernel-level driver, do not write it in a memory unsafe language

I C what you're doing... >_>

techbrovanguard#
pointing out the obvious? why are you upset i’m stating mixing hot oil and water will make a mess?
p_l1 reply#
Rust's memory safety does not prevent category errors like using nonpaged memory for things supposed to be paged and vice versa

Continue this thread — 1 more reply

Continue this thread — 1 more reply