1,959 karma · joined Apr 18, 2022 (4y ago) · 838 submissions
comment 1d ago · link · parent
And this: https://www.scs.stanford.edu/~zyedidia/arm64/abs.html
Are people using variants of the same conversion tool to extract this from the Arm documentation? (I assume it's not a straight copy of HTML files in some Arm SDK.)
comment 5d ago · link · parent
The key finding seems to be that the media learned of the technical capability notice through confidential security briefings, and not a leak (“one of those irregular verbs”).
The contents of the note remains secret for now.
comment 1w ago · link · parent
There are only a bunch of commits that came in the latest merge of security fixes, and this one changed VBMI-related intrinsics code, so it's a good match for what was publicly disclosed at the time.
import java.util.Arrays;
import java.util.Base64;
public class Canary {
// static fields defeat escape analysis so dst/canary really live in the heap
static byte[] dst;
static byte[] canary;
public static void main(String[] args) {
// (input, expected decodedOutLength) pairs:
// 65 = "A"*64 + "=" -> fragment "=" (length 1, trailing pad)
// 66 = "A"*64 + "Q=" -> fragment "Q=" (length 2, trailing pad)
// 67 = "A"*64 + "QQ=" -> fragment "QQ=" (length 3, trailing pad)
// 68 = "A"*64 + "QQ==" -> fragment 4 bytes, well-formed control case
int[][] cases = { { 65, 50 }, { 66, 50 }, { 67, 50 }, { 68, 49 } };
byte[][] srcs = new byte[cases.length][];
for (int c = 0; c < cases.length; c++) {
int len = cases[c][0];
byte[] src = new byte[len];
Arrays.fill(src, (byte) 'A');
if (len == 65) { src[64] = '='; }
if (len == 66) { src[64] = 'Q'; src[65] = '='; }
if (len == 67) { src[64] = 'Q'; src[65] = 'Q'; src[66] = '='; }
if (len == 68) { src[64] = 'Q'; src[65] = 'Q'; src[66] = '=';
src[67] = '='; }
srcs[c] = src;
}
int iters = 300_000;
for (int iter = 0; iter < iters; iter++) {
for (int c = 0; c < cases.length; c++) {
byte[] src = srcs[c];
int dstLen = cases[c][1];
// fresh dst, then canary IMMEDIATELY after it in the TLAB
dst = new byte[dstLen];
canary = new byte[64];
Arrays.fill(canary, (byte) 0x41);
int before = canary.length;
try {
Base64.getDecoder().decode(src, dst);
} catch (IllegalArgumentException e) {
// expected for the malformed tails
}
if (canary.length != before || changed(canary)) {
System.out.println(
"*** ITERATION " + iter + ", input length " + src.length
+ ": DESTINATION BUFFER OVERRUN DETECTED");
System.out.println(
"canary.length = " + canary.length + " (expected 64)");
System.out.println(
"canary bytes = " + toHex(canary, 48));
return;
}
}
if (iter % 50_000 == 0)
System.out.println("iter " + iter + ": clean so far");
}
System.out.println(
"no corruption detected in " + iters + " iterations");
}
static boolean changed(byte[] b) {
for (byte x : b) if (x != 0x41) return true;
return false;
}
static String toHex(byte[] b, int n) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < 64; i++)
sb.append(String.format("%02x ", b[i]));
return sb.toString();
}
}
I had to fix toHex() not to use b.length, otherwise it wouldn't print anything due to the negative array length field. *** ITERATION 4076, input length 67: DESTINATION BUFFER OVERRUN DETECTED
canary.length = -1700370022 (expected 64)
canary bytes = 69 a6 9a 69 a6 9a 69 a6 9a 69 a6 9a 69 a6 9a 69 a6 9a 69 a6 9a 69 a6 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41
GLM had web access for this, and it was able retrieve the OpenJDK fix. I don't know if it found the reproducer in its web searches.Turning this into a reliable exploit probably still requires some expertise. It's going to depend on heap layout at the time of the overflow. Targets won't be auto-selecting themselves like they did for Log4Shell.
comment 1w ago · link · parent
There is no fundamental reason why mathematics should be formalized using concepts that are alien to most mathematicians, in the way that type theory is.
(I guess Isabelle/HOL is the Java of formalized mathematics, in the sense that for reasons that are difficult to understand, memory safety of Java-implemented technology does not count.)
comment 1w ago · link · parent
“ What a fascinating bug!! My wife has complained that open office will never print on Tuesdays!?! Then she demonstrated it. Sure enough, won't print on Tuesday. Other applications print. I think this is the same bug. Here is my guess:
Print to a postscript file. Observe the line: %%CreationDate: (Tue Mar 3 19:47:42 2009)
Change "Tue" to anything else: %%CreationDate: (XTue Mar 3 19:47:42 2009)
Save the file and it prints. Tools like evince work because they simply omit the "CreationDate" tag to begin with.
Now something odd happens when my cups script (I am using the Brother MFC420CN) copies the file to a temp file. Some of the code is rearranged, not sure how or why, but it uses a command called "file" to identify the file as "PostScript". This check would work on the original file you printed, but by the time it runs the check on the temp file, it misidentifies. Normally it would return:
PostScript document text conforming at level 3.0
But there is another check that happens before the PostScript check. If it finds "Tue" at the fourth byte of the file, it identifies it as: Jan 22 14:32:44 MET 1991\011Erlang JAM file - version 4.2
So it's not a problem w/ openoffice.org, cups, or the brother printer drivers. It is a bug in the `file` utility, and documented at https://bugs.launchpad.net/ubuntu/+source/file/+bug/248619.
”https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/255161...
comment 2w ago · link · parent
The close proximity to the bounty process can also be challenging to corporate reporters because it could give the impression that they are individually soliciting a gift of non-nominal value from a company that is a supplier or customer in other contexts.
comment 2w ago · link · parent
“ This license is for the limited purpose of operating the services, which means allowing the services to work as designed and creating new features and functionalities. ”
https://policies.google.com/terms?hl=en-US#toc-permission
The training exclusion has always been a distraction. These service providers have plenty of other uses for your data.
comment 3w ago · link · parent
comment 3w ago · link · parent
comment 1mo ago · link · parent
“ The executable format that works on HPE Nonstop Compute's OSS is ELF64-bit, Big_Endian, X86_64. ”
https://inbox.sourceware.org/gcc-help/AM7PR02MB6483A12F6B98D...
comment 1mo ago · link · parent
I still think some details are missing for a true explanation of what is going on. Where does the random access pattern come from? Is prefetch unnecessarily performed for full-page images?
comment 1mo ago · link · parent
Consider this example:
https://www.cve.org/CVERecord?id=CVE-2026-113119
At this time, the corresponding Chromium bug tracker entry is still private:
https://issues.chromium.org/issues/557075191
(I just picked this one at random, I haven't checked if the information is publicly available from another source.)
comment 1mo ago · link · parent
What remains is field access. Curiously, first-edition K&R C actually required similar type-encoding in field names because field names were global:
https://usenet.trashworldnews.com/?thread=288637
Same for ML, which is roughly of the same age, except that it took much longer for ML-derived languages to lift this restriction.
On the other hand, every time I wrote down examples that I think should look really bad in prefix notation, like this one:
p3.x := (p1.x + p2.x) / 2;
It is actually not so terrible with a sufficiently streamlined prefix syntax: (setf x p3 (/ (+ (. x p1) (. x p2)) 2))
But maybe there should be a mechanism that the reader transforms p1.x to (. x p1), in the same way that it transforms 's into (quote s). Then we get this: (setf x p3 (/ (+ p1.x p2.x 2)))
Or if there is a concept of a place: (set p3.x (/ (+ p1.x p2.x 2)))
But that probably needs static typing for an efficient implementation (or set needs to deconstruct its first argument during compilation).comment 2mo ago · link · parent
https://maps.eu-risk.eucentre.it/map/european-seismic-risk-i...
Sardinia?
comment 2mo ago · link · parent
But perhaps Meta did the smart thing and put the source code into the VM, too. That would be a very reliable indicator that they expected exfiltration, and this is in fact working as intended.
comment 2mo ago · link · parent
Overall, this whole approach to programming seems to align really well with the original premise of COBOL. I wonder when people will start putting
# Identification Division
into their Markdown files.
comment 2mo ago · link · parent
There's also another aspect Quite a few API providers provide automatic renewal for MCP server registrations, but not for personal access tokens. This may be less relevant when models just drive the user's browser.
comment 2mo ago · link · parent